public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53563] New: ICE in start_decl, at cp/decl.c:4427
@ 2012-06-03  9:07 y121516 at gmail dot com
  2012-06-03 19:29 ` [Bug c++/53563] " paolo.carlini at oracle dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: y121516 at gmail dot com @ 2012-06-03  9:07 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53563

             Bug #: 53563
           Summary: ICE in start_decl, at cp/decl.c:4427
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: y121516@gmail.com


ICE occured.


source:

$ cat a.cpp
template<class T>
struct s
{
 template<class U>
 s(){}
};

int main() {
 struct s<void>::s<void> a;
}


output:

$ bin/gcc4.6/bin/g++ a.cpp
a.cpp: In function 'int main()':
a.cpp:9:26: internal compiler error: in start_decl, at cp/decl.c:4427
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


OS: Windows XP
GCC version:

$ bin/gcc4.6/bin/g++ -v
Built by Equation Solution <http://www.Equation.com>.
Using built-in specs.
COLLECT_GCC=C:\cygwin\home\Yuhki\bin\gcc4.6\bin\g++.exe
COLLECT_LTO_WRAPPER=c:/cygwin/home/yuhki/bin/gcc4.6/bin/../libexec/gcc/i686-pc-mingw32/4.6.3/lto-wrapper.exe
Target: i686-pc-mingw32
Configured with: ../gcc-4.6.3-mingw/configure --host=i686-pc-mingw32
--build=x86_64-unknown-linux-gnu --target=i686-pc-mingw32
--prefix=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/gcc/4.6.3
--with-gcc --with-gnu-as --with-gnu-ld --with-host-libstdcxx='-lstdc++ -lsupc++
-lm' --with-ppl=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/ppl
--with-cloog=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/cloog
--with-gmp=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/gmp
--with-mpfr=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/mpfr
--with-mpc=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/mpc
--with-sysroot=/home/gfortran/gcc-home/binary/mingw32/cross/x86_32/gcc/4.6.3
--disable-shared --disable-nls --disable-tls --disable-win32-registry
--enable-libquadmath-support --enable-libquadmath
--enable-languages=c,c++,fortran --enable-libgomp --enable-threads=win32
--enable-lto --enable-static --enable-shared=lto-plugin --enable-plugins
--enable-ld=yes --enable-cloog-backend=ppl
Thread model: win32
gcc version 4.6.3 (GCC)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-27 19:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-03  9:07 [Bug c++/53563] New: ICE in start_decl, at cp/decl.c:4427 y121516 at gmail dot com
2012-06-03 19:29 ` [Bug c++/53563] " paolo.carlini at oracle dot com
2012-06-04 10:10 ` [Bug c++/53563] [4.5/4.6/4.7/4.8 Regression] " rguenth at gcc dot gnu.org
2012-06-27 19:19 ` jason at gcc dot gnu.org
2012-06-27 19:20 ` jason at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).