https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58528
npl at chello dot at changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |npl at chello dot at --- Comment #9 from npl at chello dot at --- I get this issue too, but cant provide sources. The program compiles if -g0 is used. Happens with gcc 4.8.2 and gcc 4.8.3. lto1: internal compiler error: in build_abbrev_table, at dwarf2out.c:7478 0x821c8c8 build_abbrev_table /tmp/toolchain-make/build/gcc-4.8.2/gcc/dwarf2out.c:7478 0x821c733 build_abbrev_table /tmp/toolchain-make/build/gcc-4.8.2/gcc/dwarf2out.c:7535 0x821e19b output_comp_unit /tmp/toolchain-make/build/gcc-4.8.2/gcc/dwarf2out.c:8608 0x8237fa0 dwarf2out_finish /tmp/toolchain-make/build/gcc-4.8.2/gcc/dwarf2out.c:23557 Target: arm-none-eabi Configured with: /tmp/toolchain-make/build/gcc-4.8.2/configure --prefix=/opt/imx28-48v1 --target=arm-none-eabi --enable-languages=c,c++ --disable-libstdcxx-verbose --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --enable-multilib --disable-shared --disable-nls --with-system-zlib --enable-tls --with-gnu-as --with-gnu-ld --enable-lto --with-newlib --with-gmp=/tmp/toolchain-make/build/ggcnativebuild/gmp-5.1.3 --with-mpfr=/tmp/toolchain-make/build/ggcnativebuild/mpfr-3.1.2 --with-mpc=/tmp/toolchain-make/build/ggcnativebuild/mpc-1.0.2 --with-cloog=/tmp/toolchain-make/build/ggcnativebuild/cloog-0.18.0 --with-isl=/tmp/toolchain-make/build/ggcnativebuild/isl-0.11.1 --with-host-libstdcxx='-Wl,-Bstatic,/usr/lib/gcc/i486-linux-gnu/4.7/libstdc++.a,/usr/lib/gcc/i486-linux-gnu/4.7/libsupc++.a,-Bdynamic -lm' Thread model: single gcc version 4.8.2 (GCC)