This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/27508] [4.0/4.1/4.2 regression] ICE on invalid destructor name



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]