]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/39060 (ICE with lots of invalid member functions)
authorH.J. Lu <hongjiu.lu@intel.com>
Sun, 8 Mar 2009 17:29:12 +0000 (17:29 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sun, 8 Mar 2009 17:29:12 +0000 (10:29 -0700)
commitae9b2a481c0f6510271cf12f86cd3b6b86490a96
tree5629a4fada17111aca9ed99113dd06ed98c105e2
parent975a4fd69f8d84b2414445745195d0b6ced3a39c
re PR c++/39060 (ICE with lots of invalid member functions)

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.

From-SVN: r144710
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/new1.C
gcc/testsuite/g++.dg/other/pr39060.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/crash40.C
gcc/testsuite/g++.dg/parse/defarg12.C
gcc/testsuite/g++.dg/template/error15.C