PR c++/27665
commit6a6e65c024fc44730ecfd5bb438d969ef8744117
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Jun 2006 03:51:51 +0000 (15 03:51 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Jun 2006 03:51:51 +0000 (15 03:51 +0000)
treeba762aa5f0e7a8d1e860b417b9479cc9424da79b
parentd535032fd3cb35659cf46701a7d941237a488f19
PR c++/27665
* parser.c (cp_parser_unqualified_id): Use constructor_name_p to
identify destructors.
(cp_parser_nested_name_specifier_opt): Remove invalid
optimization.
(cp_parser_template_id): Refine heuristic for determining whether
we are entering a scope.
PR c++/27665
* g++.dg/template/crash52.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114669 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash52.C [new file with mode: 0644]