http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50823
Bug #: 50823 Summary: [4.7 Regression] ICE in inline_small_functions, at ipa-inline.c:1407 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: mar...@trippelsdorf.de Happens when one tries to build gcc with -O3: x86_64-pc-linux-gnu-gcc -c -march=native -O3 -pipe -fuse-linker-plugin -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/bid -I../libdecnumber ../../gcc/gcc/emit-rtl.c -o emit-rtl.o ../../gcc/gcc/emit-rtl.c:5939:0: internal compiler error: in inline_small_functions, at ipa-inline.c:1407 Reduced testcase is attached. % gcc -c -O3 -w test.i test.i:79:1: internal compiler error: in inline_small_functions, at ipa-inline.c:1407