http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55051
--- Comment #8 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-11-14 20:48:21 UTC --- Created attachment 28688 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28688 testcase The testcase is only reduced to 97K, but it gets reduced very slowly and I'm giving up. $ g++ -w -c -O2 -fprofile-generate test.ii ... badness 0 badness 0 badness 1 test.ii:784:42: internal compiler error: in edge_badness, at ipa-inline.c:921