[Bug c++/50309] [4.6/4.7 Regression] [C++0x] ICE: tree check: expected tree_list, have error_mark in comp_except_specs, at cp/typeck.c:1014 on empty noexcept
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 7 17:36:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50309
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-09-07 17:35:15 UTC ---
Author: paolo
Date: Wed Sep 7 17:35:07 2011
New Revision: 178656
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178656
Log:
/cp
2011-09-07 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50309
* decl.c (grokdeclarator): Check u.function.exception_specification
for error_mark_node.
/testsuite
2011-09-07 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50309
* g++.dg/cpp0x/noexcept11.C: New.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/noexcept11.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/decl.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list