------- Comment #3 from tneumann at pi3 dot informatik dot uni-mannheim dot de 2006-05-26 16:35 ------- This still happens with gcc-4.0-20060518, see the error message below. The gcc-4.[12] branches presumably work, I only tried 4.1.
./gcc4/bin/g++ -c foo.cpp foo.cpp: In member function 'unsigned int A<T>::foo(unsigned int)': foo.cpp:3: internal compiler error: tree check: expected class 'type', have 'type' (array_type) in operand_equal_p, at fold-const.c:2404 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- tneumann at pi3 dot informatik dot uni-mannheim dot de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |UNCONFIRMED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27465