Most other Linux Fortran compilers that I have used provide support for an optional third argument to the intrinsic function signal(). This argument is an integer flag that is passed to the handler function when it is called. Why is there no support in gfortran for this optional third argument? I am compiling legacy Fortran code that builds just fine under the Intel, PathScale, PGI and many other Fortran compilers. Is there any way to adjust the code or compiler options to make this work? How are you supposed to pass a flag to the handler in gfortran?
-- Summary: optional argument for signal intrinsic not supported Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: cummings at cacr dot caltech dot edu GCC build triplet: x86_64-suse-linux GCC host triplet: x86_64-suse-linux GCC target triplet: x86_64-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29240