Summary: | [4.5/ICE] sys-devel/clang unrecognizable insn with -O2 -ftree-vectorize | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dschridde+gentoobugs, voyageur |
Priority: | High | Keywords: | Inclusion |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://gcc.gnu.org/PR43653 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
Preprocessed source file InitHeaderSearch.ii reduced build.log (sys-devel/clang-2.8-r2) |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 233797 [details]
Build log
InitHeaderSearch.cpp: In member function ‘void<unnamed>::InitHeaderSearch::AddMinGWCPlusPlusIncludePaths(llvm::StringRef, llvm::StringRef, llvm::StringRef)’: InitHeaderSearch.cpp:198:1: error: unrecognizable insn: (insn 1015 1014 266 2 /var/tmp/portage/sys-devel/clang-2.7/work/llvm-2.7/include/llvm/ADT/Twine.h:156 (set (reg:DI 23 xmm2) (plus:DI (reg:DI 23 xmm2) (mem/u/c/i:DI (symbol_ref/u:DI ("*.LC10") [flags 0x2]) [45 S8 A64]))) -1 (expr_list:REG_EQUIV (plus:DI (reg/f:DI 7 sp) (mem/u/c/i:DI (symbol_ref/u:DI ("*.LC10") [flags 0x2]) [45 S8 A64])) (nil))) InitHeaderSearch.cpp:198:1: internal compiler error: in extract_insn, at recog.c:2103 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions. Can't reproduce, going to need preprocessed source. Created attachment 233833 [details]
Preprocessed source file
x86_64-pc-linux-gnu-g++ -O2 -ftree-vectorize InitHeaderSearch.c -c -o /tmp/test.o This is the shortest command line to reproduce the problem… Thanks, I also see this with 20100529 svn (r160023). Created attachment 234043 [details]
InitHeaderSearch.ii reduced
Created attachment 257053 [details]
build.log (sys-devel/clang-2.8-r2)
I probably have the same problem, even though the output is a little bit different:
---
InitHeaderSearch.cpp: In member function ‘void<unnamed>::InitHeaderSearch::AddMinGWCPlusPlusIncludePaths(llvm::StringRef, llvm::StringRef, llvm::StringRef)’:
InitHeaderSearch.cpp:202:1: internal compiler error: in reload, at reload1.c:1187
---
?(In reply to comment #8) > InitHeaderSearch.cpp:202:1: internal compiler error: in reload, at > reload1.c:1187 This seems to be GCC-bug #43653 [1], and not associated with the ICE flameeyes reported. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43653 Same bug. Error message just changed a bit with 4.5.2. So this is fixed then. |