https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89011

--- Comment #3 from Andreas Hangauer <ahangauer at gmx dot net> ---
Unfortunately this is the most recent version of gcc which is available in the
mingw-w64 / msys2 toolchain. I am only able to try with an *older* gcc: However
version 5.1.0 yields the same. Sorry if this is not of much help, but it
indicates that indeed this could be a target-related problem.


gcc -c test_bug.cpp -std=c++11  

==> 

test_bug.cpp:14:26: internal compiler error: in instantiate_type, at
cp/class.c:
7849
 using TT3 = test<dummy, 0>;  // generates ICE
                          ^
Please submit a full bug report,


gcc -v 

==> 

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=C:/TDM-GCC-64/bin/../libexec/gcc/x86_64-w64-mingw32/5.1.0/lt
o-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-5.1.0/configure --build=x86_64-w64-mingw32
--e
nable-targets=all --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++
--enable
-libgomp --enable-lto --enable-graphite --enable-cxx-flags=-DWINPTHREAD_STATIC
-
-disable-build-with-cxx --disable-build-poststage1-with-cxx
--enable-libstdcxx-d
ebug --enable-threads=posix --enable-version-specific-runtime-libs
--enable-full
y-dynamic-string --enable-libstdcxx-threads --enable-libstdcxx-time
--with-gnu-l
d --disable-werror --disable-nls --disable-win32-registry --prefix=/mingw64tdm
-
-with-local-prefix=/mingw64tdm --with-pkgversion=tdm64-1
--with-bugurl=http://td
m-gcc.tdragon.net/bugs
Thread model: posix
gcc version 5.1.0 (tdm64-1)

Reply via email to