http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50279
Steffen Möller <steffen_moeller at gmx dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steffen_moeller at gmx dot | |de --- Comment #1 from Steffen Möller <steffen_moeller at gmx dot de> 2011-09-04 13:08:36 UTC --- The same error occurs while compiling the Debian package autodocksuite from sid with LTO enabled: /usr/lib/gcc-snapshot/bin/g++ -Wall -g -flto -O2 -Winline -finline-functions -Wl,--as-needed -flto -o autogrid4 autogrid4-main.o autogrid4-check_size.o autogrid4-setflags.o autogrid4-timesys.o autogrid4-timesyshms.o autogrid4-printhms.o autogrid4-prHMSfixed.o autogrid4-printdate.o autogrid4-strindex.o autogrid4-banner.o autogrid4-gpfparser.o autogrid4-parsetypes.o autogrid4-atom_parameter_manager.o autogrid4-read_parameter_library.o autogrid4-parse_param_line.o autogrid4-distdepdiel.o -lm In file included from setflags.cpp:142:0, from :118: main.cpp: In function 'main': main.cpp:2542:1: internal compiler error: in splice_child_die, at dwarf2out.c:5007 Please submit a full bug report, with preprocessed source if appropriate. $ /usr/lib/gcc-snapshot/bin/g++ --version g++ (Debian 20110816-1) 4.7.0 20110816 (experimental) [trunk revision 177785] Sorry for not isolating the problem more. The problem could not be observed in g++ 4.6.1 from Debian unstable (4.6.1-8). It fails later, hence the installation of the snapshot :) Without the LTO, everything is fine.