diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2023-10-17 19:35:18 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2023-10-18 09:29:56 +0200 |
commit | 372c5da2153835baa95f232b917da81ea7445c7d (patch) | |
tree | 329b8d1e373240170b842c0914a6de6446798761 | |
parent | f019251ac9be017aaf3c58f87f43d88b974d21cf (diff) | |
download | gcc-372c5da2153835baa95f232b917da81ea7445c7d.zip gcc-372c5da2153835baa95f232b917da81ea7445c7d.tar.gz gcc-372c5da2153835baa95f232b917da81ea7445c7d.tar.bz2 |
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.
-rw-r--r-- | gcc/fortran/intrinsic.texi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 0db557d..d140718 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) |