This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27962] [4.1 regression] ICE with invalid template parameter in specialization
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2007 06:05:34 -0000
- Subject: [Bug c++/27962] [4.1 regression] ICE with invalid template parameter in specialization
- References: <bug-27962-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from pinskia at gcc dot gnu dot org 2007-01-14 06:05 -------
(In reply to comment #8)
> Just like PR 27668, I cannot confirm this bug for 4.1.1 or the 4.1 branch; it
> passes for me.
Unless something changed between 20061204 and now, I can reproduce this on the
4.1 branch:
t.cc:6: error: ?struct T? is not a valid type for a template constant parameter
t.cc:6: confused by earlier errors, bailing out
Note the confused by earlier errors is the ICE really.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27962