http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51154
--- Comment #2 from Craig Schroeder <cas43 at cs dot stanford.edu> 2011-11-16 07:30:12 UTC --- Created attachment 25835 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25835 Another file variant causing a third diagnostic on ICE. This variant on the file produces the following diagnostic: four.cpp: In member function ‘void ADVECTION_DRIVER<TV>::Scalar_Advance()’: four.cpp:30:33: error: ‘T’ was not declared in this scope four.cpp:30:35: error: ‘TV_INT’ was not declared in this scope four.cpp:30:41: error: template argument 1 is invalid four.cpp:30:41: error: template argument 2 is invalid four.cpp:30:56: error: invalid type in declaration before ‘(’ token four.cpp: In instantiation of ‘void ADVECTION_DRIVER<TV>::Scalar_Advance() [with TV = VECTOR<float, 1>]’: four.cpp:33:16: required from here four.cpp:30:64: error: expression list treated as compound expression in initializer [-fpermissive] four.cpp: In member function ‘void ARRAY<T, VECTOR<int, d> >::Resize() [with T = float; int d = 1]’: four.cpp:21:20: internal compiler error: in create_tmp_var, at gimplify.c:468 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.