]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/c-common.c
* c-common.c: Add support for __attribute__((nothrow)) to specify
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 May 2002 21:09:38 +0000 (21:09 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 May 2002 21:09:38 +0000 (21:09 +0000)
commitfa9876972b424dd50d366a32eadfd7d3117a6e2b
treeef5638bc097170d139e365da78c3dceb1d3a2ffa
parent11aafc65723c2b05ae51ecb120ef1d2a47c763c5
* c-common.c: Add support for __attribute__((nothrow)) to specify
that a function cannot throw an exception (using TREE_NOTHROW).
(handle_nothrow_attribute): New function to process this attribute.

* doc/extend.texi: Document the new nothrow function attribute.

2002-05-27  Richard Henderson  <rth@redhat.com>

* g++.dg/ext/attrib6.C: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53940 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attrib6.C [new file with mode: 0644]