G++ crashes using templates/aggregates. Release: 19990824 Environment: Linux pc 2.2.10 #9 Wed Jul 21 15:10:53 MEST 1999 i686 unknown How-To-Repeat: .)compile % g++ ICE2.cpp ICE2.cpp: In method `void basic_filebuf<char>::underflow()': ICE2.cpp:13: instantiated from here ICE2.cpp:9: Internal compiler error in `expand_expr', at expr.c:5701 Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions. -----ICE2.cpp---------------- template<typename _CharT> struct basic_filebuf { virtual void underflow() { int __size = 5; char __conv_buf[__size]; } }; template class basic_filebuf<char>; -----------------------------
Fix: 1999-08-26 Mark Mitchell <mark@codesourcery.com> * tree.c (store_parm_decls): Reset immediate_size_expand. (finish_function): Likewise.
State-Changed-From-To: open->closed State-Changed-Why: Fixed.