Hide Forgot
Description of problem: xterm-277 menu.c fails to compile $ gcc -c -O3 menu-out.c ./menu.c:3832:1: internal compiler error: in inline_small_functions, at ipa-inline.c:1410 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. Version-Release number of selected component (if applicable): 4.7.0-0.5.fc17 How reproducible: 100% Steps to Reproduce: 1. gcc -c -O3 menu-out.c 2. 3. Actual results: ICE Expected results: compile Additional info:
Created attachment 551583 [details] menu.i
Thanks for the bug report. This is already fixed in today's upstream tree towards GCC 4.7, so it will be fixed in rawhide when Jakub pulls the next snapshot. I suggest using the more standard compile flag -O2 for now, and even after the next GCC build, unless there's actual evidence that -O3 generates better code for this specific package. The expensive optimizations enabled by -O3 can sometimes make the resulting code somewhat worse.
Should be fixed in gcc-4.7.0-0.6.fc17.