re PR c/12713 (Document interaction of attribute noreturn and longjmp)

PR c/12713
	* doc/extend.texi: Document interaction of attribute noreturn and
	longjmp.

From-SVN: r88070
This commit is contained in:
Joseph Myers 2004-09-24 21:27:25 +01:00 committed by Joseph Myers
parent 41bf2a8b17
commit 2e9522f436
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2004-09-24 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/12713
* doc/extend.texi: Document interaction of attribute noreturn and
longjmp.
2004-09-24 Richard Henderson <rth@redhat.com>
PR rtl-opt/17503

View file

@ -2015,7 +2015,7 @@ 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.
by throwing an exception or calling @code{longjmp}.
Do not assume that registers saved by the calling function are
restored before calling the @code{noreturn} function.