This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27508] [4.0/4.1/4.2 regression] ICE on invalid destructor name
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jun 2006 18:52:34 -0000
- Subject: [Bug c++/27508] [4.0/4.1/4.2 regression] ICE on invalid destructor name
- References: <bug-27508-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from mmitchel at gcc dot gnu dot org 2006-06-04 18:52 -------
This patch is OK.
As per the mailing list, it might be better to do this after the call to
unqualified_id, as this patch may issue odd diagnostics about things like
"using ::~3"; it might be better to say "invalid unqualified id" than
"destructors not allowed" in that case. But, that's a minor point.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27508