http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53433
--- Comment #14 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2012-06-01 12:01:00 UTC --- no need of lto just /home/data/newsoft/gcc-build/./gcc/xgcc -B/home/data/newsoft/gcc-build/./gcc/ -B/afs/cern.ch/user/i/innocent/w2/x86_64-unknown-linux-gnu/bin/ -B/afs/cern.ch/user/i/innocent/w2/x86_64-unknown-linux-gnu/lib/ -c test.i -O2 test.i:2:1: warning: data definition has no type or storage class [enabled by default] b; ^ test.i: In function 'd_demangle_callback': test.i:6:21: internal compiler error: in int_mode_for_mode, at stor-layout.c:423 if (0 ? : strncmp (&b, "_GLOBAL_", 8) == '.' ^ Please submit a full bug report,