http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51572
--- Comment #4 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-12-16 12:12:37 UTC --- Sorry, my check.sh script not optimal. Here is a really reduced testcase: % cat test.i struct VdbeOpList { }; typedef struct VdbeOpList VdbeOpList; sqlite3_blob_open () { static VdbeOpList openBlob[] = { }; } % gcc -w -flto -g test.i lto1: internal compiler error: in dwarf2out_finish, at dwarf2out.c:22493