[Bug c++/27962] [4.1 regression] ICE with invalid template parameter in specialization
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 14 06:05:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list