re PR c++/13314 (ICE when omitting template parameter of a sub-class)
authorMark Mitchell <mark@codesourcery.com>
Sat, 6 Dec 2003 04:59:55 +0000 (04:59 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 6 Dec 2003 04:59:55 +0000 (04:59 +0000)
commiteeb23c11c0f58d2927f94cae3dac10848507420c
treed246e242b1f8237a1d1682441733732a069e218f
parent6a40fb21e1af1dc1eb1df6e4fa92dc3cbac15ac6
re PR c++/13314 (ICE when omitting template parameter of a sub-class)

PR c++/13314
* emit-rtl.c (set_mem_attributes_minus_bitpos): Robustify.

PR c++/13314
* parser.c (cp_parser_class_specifier): Match push_scope/pop_scope
calls.
(cp_parser_class_head): Likewise.

PR c++/13314
* g++.dg/template/error7.C: New test.

From-SVN: r74359
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/emit-rtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/error7.C [new file with mode: 0644]