This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51328] [4.4/4.5/4.6/4.7 Regression] ICE on invalid template parameter
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Dec 2011 15:58:13 +0000
- Subject: [Bug c++/51328] [4.4/4.5/4.6/4.7 Regression] ICE on invalid template parameter
- Auto-submitted: auto-generated
- References: <bug-51328-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51328
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-19 15:58:13 UTC ---
(In reply to comment #3)
> Thus I guess rejecting it earlier is fine, but we don't want to misled people
> by saying that 'typename T::~T' would be ok.
Agreed. I would expect it to be straightforward to catch this at the point we
currently give the misleading message.