]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/57645 (Explicitly-declared destructor with no exception specification is...
authorPaolo Carlini <paolo.carlini@oracle.com>
Sat, 29 Jun 2013 00:11:03 +0000 (00:11 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 29 Jun 2013 00:11:03 +0000 (00:11 +0000)
commita5e90b2af35e879ce1f310c0639f907009b6c3cb
tree2d9629e027b6b3b04e0ce3733a3886cd5b90c184
parente6631d3801d00b095af3325d69b9b4cbdc48535f
re PR c++/57645 (Explicitly-declared destructor with no exception specification is always noexcept(true))

/cp
2013-06-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/57645
* class.c (deduce_noexcept_on_destructors): Save, set, and restore
TYPE_HAS_NONTRIVIAL_DESTRUCTOR (t) around the main loop over the
destructors.

/testsuite
2013-06-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/57645
* g++.dg/cpp0x/noexcept21.C: New.

From-SVN: r200559
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/noexcept21.C [new file with mode: 0644]