------- Comment #2 from reichelt at gcc dot gnu dot org 2009-09-09 07:31 ------- The problem still persists (revision 151550 on x86_64-unknown-linux-gnu):
bug.cc: In function 'void foo(int, ...)': bug.cc:8:3: error: 'V' was not declared in this scope bug.cc:8:5: error: expected ';' before 'v' bug.cc:9:22: error: 'v' was not declared in this scope bug.cc:10:31: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in operand_equal_p, at fold-const.c:3111 You probably need to have checking enabled to see the ICE. The ICE only shows with the C++ frontend and not the C frontend. -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|WORKSFORME | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40138