This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30156] [4.1/4.2/4.3 regression] ICE on invalid template declaration
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2006 21:12:23 -0000
- Subject: [Bug c++/30156] [4.1/4.2/4.3 regression] ICE on invalid template declaration
- References: <bug-30156-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from reichelt at gcc dot gnu dot org 2006-12-11 21:12 -------
Sorry, forgot to add the error message:
bug.cc:3: error: 'X' was not declared in this scope
bug.cc:3: internal compiler error: tree check: expected var_decl, have
field_decl in cp_finish_decl, at cp/decl.c:5092
Please submit a full bug report, [etc.]
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30156