[gfortran] add SIGNAL and ALARM intrinsics
FX Coudert
fxcoudert@gmail.com
Sat Oct 15 10:19:00 GMT 2005
:ADDPATCH fortran:
>> Attached patch adds the SIGNAL and ALARM intrinsics to gfortran, that
>> were available in g77 and all commercial compilers (and used in lots of
>> scientific code, for handling "out of allocated CPU time" signals).
>>
>> Built, tested and regtested on i686-linux.
>>
>> OK for mainline and 4.0?
All the errors noted by Steve were corrected, and the library functions
interface was reworked (using only "C int" integers).
Built and tested again on i686-linux. OK for mainline and 4.0?
FX
PS: attached are three fortran programs and a C subroutine (handlers.c,
a1.f, a2.f, signal.f) that will help the reviewer play with these new
intrinsics if he wants to...
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: signal2.ChangeLog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051015/897a1a14/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signal2.diff
Type: text/x-patch
Size: 23045 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051015/897a1a14/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a1.f
Type: text/x-fortran
Size: 148 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051015/897a1a14/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a2.f
Type: text/x-fortran
Size: 132 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051015/897a1a14/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: handlers.c
Type: text/x-csrc
Size: 146 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051015/897a1a14/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signal.f
Type: text/x-fortran
Size: 295 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051015/897a1a14/attachment-0004.bin>
More information about the Fortran
mailing list