http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650
--- Comment #7 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-12-22 13:26:26 UTC --- (In reply to comment #6) > % cat test.ii > typedef struct { } X; > void test () > { > typedef X **P; > P g = 0; > } > > % g++ test.ii -g -flto -flto-partition=none > lto1: internal compiler error: in dwarf2out_finish, at dwarf2out.c:22501 > > (Will try to reduce again without -flto-partition=none) Not necessary: % g++ -r- g -flto test.ii lto1: internal compiler error: in dwarf2out_finish, at dwarf2out.c:22501