OSDN Git Service

gcc:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 May 2010 02:27:02 +0000 (02:27 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 May 2010 02:27:02 +0000 (02:27 +0000)
commit54f6ea65c2f6dd92b6ddf40bb1f4e28575cd1218
tree699ab721514cf76b302460b68157f29fee95d298
parent00b7ca84db5fc0fb4085836d7a5cf277ab132168
gcc:
* c.opt: Add -fnothrow-opt.
gcc/cp:
* cp-tree.h (TYPE_NOEXCEPT_P): New macro.
* except.c (begin_eh_spec_block): Use MUST_NOT_THROW_EXPR if
TYPE_NOEXCEPT_P.
(finish_eh_spec_block): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159450 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c.opt
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/except.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/eh/forced3.C
gcc/testsuite/g++.dg/eh/spec10.C [new file with mode: 0644]
gcc/testsuite/g++.dg/eh/spec11.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.mike/eh34.C