public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4705] fortran/intrinsic.texi: Add 'intrinsic' to SIGNAL example
@ 2023-10-18 7:30 Tobias Burnus
0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2023-10-18 7:30 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:372c5da2153835baa95f232b917da81ea7445c7d
commit r14-4705-g372c5da2153835baa95f232b917da81ea7445c7d
Author: Tobias Burnus <tobias@codesourcery.com>
Date: Tue Oct 17 19:35:18 2023 +0200
fortran/intrinsic.texi: Add 'intrinsic' to SIGNAL example
gcc/fortran/ChangeLog:
* intrinsic.texi (signal): Add 'intrinsic :: signal, sleep' to
the example to make it safer.
Diff:
---
gcc/fortran/intrinsic.texi | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi
index 0db557d5a38c..d1407186aea1 100644
--- a/gcc/fortran/intrinsic.texi
+++ b/gcc/fortran/intrinsic.texi
@@ -13214,6 +13214,7 @@ contains
end module
program test_signal
use m_handler
+ intrinsic :: signal, sleep
call signal (12, handler_print) ! 12 = SIGUSR2 (on some systems)
call signal (10, 1) ! 10 = SIGUSR1 and 1 = SIG_IGN (on some systems)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-18 7:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-18 7:30 [gcc r14-4705] fortran/intrinsic.texi: Add 'intrinsic' to SIGNAL example Tobias Burnus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).