[cfe-dev] InitHeaderSearch.cpp ices gcc <= 4.5

İsmail Dönmez ismail at namtrac.org
Thu Dec 1 11:08:44 PST 2011


Hi;

On Thu, Dec 1, 2011 at 8:07 PM, Eric Christopher <echristo at apple.com> wrote:

>
> On Dec 1, 2011, at 10:59 AM, İsmail Dönmez wrote:
>
> Hi;
>
> I see the following compiler crash with gcc 4.5 while building llvm-3.0
> release:
>
> /usr/src/packages/BUILD/llvm-3.0/tools/clang/lib/Frontend/InitHeaderSearch.cpp:
> In member function
> 'void<unnamed>::InitHeaderSearch::AddMinGWCPlusPlusIncludePaths(llvm::StringRef,
> llvm::StringRef, llvm::StringRef)':
> /usr/src/packages/BUILD/llvm-3.0/tools/clang/lib/Frontend/InitHeaderSearch.cpp:192:1:
> error: unrecognizable insn:
> (insn 192 191 46 2
> /usr/src/packages/BUILD/llvm-3.0/include/llvm/ADT/Twine.h:180 (set (reg:DI
> 23 xmm2)
> (plus:DI (reg:DI 23 xmm2)
> (mem/u/c/i:DI (symbol_ref/u:DI ("*.LC14") [flags 0x2]) [0 S8 A64]))) -1
> (expr_list:REG_EQUIV (plus:DI (reg/f:DI 7 sp)
> (mem/u/c/i:DI (symbol_ref/u:DI ("*.LC14") [flags 0x2]) [0 S8 A64]))
> (nil)))
> /usr/src/packages/BUILD/llvm-3.0/tools/clang/lib/Frontend/InitHeaderSearch.cpp:192: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.opensuse.org/> for instructions.
>
>
> Best bet is to file a bug with SuSE here.
>

I can get this fixed for SUSE but I thought you would like to support gcc
4.5 ;)

P.S: This is only happening with x86_64

Regards,
ismail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111201/48fa3efc/attachment.html>


More information about the cfe-dev mailing list