diff options
| author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-12 16:08:10 +0000 |
|---|---|---|
| committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-12 16:08:10 +0000 |
| commit | 28d3ec4a98d4d20354098236dcc8af5bf677c29b (patch) | |
| tree | 5544ecdb47de55ece3034cb7525845fe62e9eeb5 | |
| parent | 27c7c8e9f5e4ad409d25102df0eb53357260be0e (diff) | |
| download | ppe42-gcc-28d3ec4a98d4d20354098236dcc8af5bf677c29b.tar.gz ppe42-gcc-28d3ec4a98d4d20354098236dcc8af5bf677c29b.zip | |
* doc/extend.texi (Function Attributes): Mention the exceptional
path for noreturn-marked functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72401 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/doc/extend.texi | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 47f03e5871c..5f64e151d85 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-10-12 Hans-Peter Nilsson <hp@bitrange.com> + + * doc/extend.texi (Function Attributes): Mention the exceptional + path for noreturn-marked functions. + 2003-10-12 Jan Hubicka <jh@suse.cz> * cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index d2f417da782..d24a725555a 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -2020,6 +2020,10 @@ would happen if @code{fatal} ever did return. This makes slightly better code. More importantly, it helps avoid spurious warnings of uninitialized variables. +The @code{noreturn} keyword does not affect the exceptional path when that +applies: a @code{noreturn}-marked function may still return to the caller +by throwing an exception. + Do not assume that registers saved by the calling function are restored before calling the @code{noreturn} function. |

