From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020501 Description of problem: I get the internal error mentioned in the summary when compiling the attached code (atom.i) my version of gcc3 (output of g++3 -v) is 3.0.4 (Red Hat Linux 7.2 3.0.4-1) This problems seems to occur rather early in the compiler as it does not depend on options given on the command line (as far as I can tell). Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1."g++3 atom.i" where atom.i is the attached file 2. 3. Actual Results: I get the diagnostic : atom.cc: In static member function `static void Cirrus::Atom::_typeInfo()': atom.cc:116: Internal compiler error in c_expand_expr, at c-common.c:4171 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. Expected Results: an object or a readable syntax error report. Additional info:
Created attachment 64084 [details] atom.i : the file to compile to reproduce this bug
Still present in g++ 3.2
The test case appears to be invalid, but the ICE persists in gcc 4.0. Pushed upstream to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17797