[Bug c++/10310] [3.4 regression] [New parser] ICE on illegal use of template keyword
lerdsuwa at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 30 15:32:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10310
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-10-30 15:21 -------
Some comment about the patch: pop_deferring_access_checks isn't
called in this particular if-block below, this could screw up later
access checking.
! if (TREE_CODE (declarator) == IDENTIFIER_NODE)
! {
! error ("explicit instantiation of non-template `%D'", declarator);
! }
More information about the Gcc-bugs
mailing list