[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:22:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50309
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-09-07 17:16:30 UTC ---
Author: paolo
Date: Wed Sep 7 17:16:23 2011
New Revision: 178654
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178654
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/noexcept14.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/noexcept14.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list