http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50852
Bug #: 50852 Summary: ICE: internal compiler error: in tsubst, at cp/pt.c:11030 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: ca...@cs.stanford.edu Created attachment 25592 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25592 Compiling this file causes ICE ICE on compiling attached file. How to reproduce: /home/cas43/new-gcc/inst/bin/g++ prog.ii Diagnostic: prog.cpp: In instantiation of ‘class D<B<A<1> >, 3>’: prog.cpp:13:16: required from here prog.cpp:11:23: internal compiler error: in tsubst, at cp/pt.c:11030 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Compiler version: /home/cas43/new-gcc/inst/bin/g++ -v Using built-in specs. COLLECT_GCC=/home/cas43/new-gcc/inst/bin/g++ COLLECT_LTO_WRAPPER=/home/cas43/new-gcc/inst/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../current-gcc/configure --prefix=/home/cas43/new-gcc/inst Thread model: posix gcc version 4.7.0 20111024 (experimental) (GCC)