http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49735
Summary: mips64-elf libgcc build fails with apparently infinite recursion. Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: ber...@gcc.gnu.org Created attachment 24751 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24751 A testcase Configure a cross compiler with --target=mips64-elf. When building libgcc, cc1 goes into what seems to be an infinite recursion: (gdb) bt #0 0x083b22aa in estimate_calls_size_and_time (node=<value optimized out>, size=0xf7484030, time=0xf748402c, possible_truths=4294967294) at ../../trunk/gcc/ipa-inline-analysis.c:1748 #1 0x083b229d in estimate_calls_size_and_time (node=<value optimized out>, size=0xf7484030, time=0xf748402c, possible_truths=4294967294) at ../../trunk/gcc/ipa-inline-analysis.c:1743 #2 0x083b229d in estimate_calls_size_and_time (node=<value optimized out>, size=0xf7484030, time=0xf748402c, possible_truths=4294967294) at ../../trunk/gcc/ipa-inline-analysis.c:1743 I'm attaching the .i file.