re PR c++/89571 (ICE in nothrow_spec_p, at cp/except.c:1238)
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 21 Mar 2019 01:03:30 +0000 (01:03 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 21 Mar 2019 01:03:30 +0000 (01:03 +0000)
commitc6ecc13a07cae1131fdbb91e465269402e4b0323
treeea82bb7405df6b0b328fa6448297b5fdfa424091
parent2aecb44b403c8eed36c3d150cb5b4ebb970686b1
re PR c++/89571 (ICE in nothrow_spec_p, at cp/except.c:1238)

/cp
2019-03-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/89571
* method.c (after_nsdmi_defaulted_late_checks): Avoid passing
error_mark_node to comp_except_specs.

/testsuite
2019-03-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/89571
* g++.dg/cpp0x/noexcept37.C: New.

From-SVN: r269832
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/noexcept37.C [new file with mode: 0644]