[Bug c++/39060] [4.4 regression] ICE with lots of invalid member functions
hjl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Mar 8 17:29:00 GMT 2009
------- Comment #8 from hjl at gcc dot gnu dot org 2009-03-08 17:29 -------
Subject: Bug 39060
Author: hjl
Date: Sun Mar 8 17:29:12 2009
New Revision: 144710
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144710
Log:
gcc/cp/
2009-03-08 H.J. Lu <hongjiu.lu@intel.com>
PR c++/39060
* parser.c (cp_parser_late_parsing_default_args): Continue
the loop when cp_parser_assignment_expression returns
error_mark_node.
gcc/testsuite/
2009-03-08 H.J. Lu <hongjiu.lu@intel.com>
PR c++/39060
* g++.dg/other/new1.C: Adjusted.
* g++.dg/parse/crash40.C: Likewise.
* g++.dg/parse/defarg12.C: Likewise.
* g++.dg/template/error15.C: Likewise.
* g++.dg/other/pr39060.C: New.
Added:
trunk/gcc/testsuite/g++.dg/other/pr39060.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/other/new1.C
trunk/gcc/testsuite/g++.dg/parse/crash40.C
trunk/gcc/testsuite/g++.dg/parse/defarg12.C
trunk/gcc/testsuite/g++.dg/template/error15.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39060
More information about the Gcc-bugs
mailing list