https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61916
Stephen Kitt <steve at sk2 dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steve at sk2 dot org --- Comment #6 from Stephen Kitt <steve at sk2 dot org> --- Hi, I believe I have a minimal reproducer for this, courtesy of Jakub Wilk (reported at https://bugs.debian.org/779526 against gcc-mingw-w64). This is with gcc 4.9.2 targeting i686-w64-mingw32, so not quite the same target but the error is at the same line: % i686-w64-mingw32-gcc badsymtab.c badsymtab.c:9:1: internal compiler error: in symtab_nonoverwritable_alias, at symtab.c:1252 } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Preprocessed source stored into /tmp/user/1000/ccMPGb9z.out file, please attach this to your bugreport. I'm attaching the pre-processed source. The compiler is configured as follows: % i686-w64-mingw32-gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/i686-w64-mingw32-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-w64-mingw32/4.9-win32/lto-wrapper Target: i686-w64-mingw32 Configured with: ../../src/configure --build=x86_64-linux-gnu --prefix=/usr --includedir='/usr/include' --mandir='/usr/share/man' --infodir='/usr/share/info' --sysconfdir=/etc --localstatedir=/var --libexecdir='/usr/lib/gcc-mingw-w64' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --enable-shared --enable-static --disable-multilib --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --libdir=/usr/lib --enable-libstdcxx-time=yes --with-tune=generic --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libgomp --enable-languages=c,c++,fortran,objc,obj-c++ --enable-lto --with-plugin-ld --enable-threads=win32 --program-suffix=-win32 --program-prefix=i686-w64-mingw32- --target=i686-w64-mingw32 --with-as=/usr/bin/i686-w64-mingw32-as --with-ld=/usr/bin/i686-w64-mingw32-ld Thread model: win32 gcc version 4.9.2 (GCC)