This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH]: PR fortran/33197, use MPC for complex "arc" functions
On 10/05/2009 06:54 PM, Kaveh R. GHAZI wrote:
> The test below seems to work using the link_error() style. (It was mostly
> copied from complex_intrinsic_7.f90 with the numeric details changed).
> Fortran doesn't seem to require any analogous "extern void link_error()"
> declaration. So just replacing "call abort()" with "call link_error()"
> was apparently enough.
>
Yes, "call link_error" is enough. In some cases one needs to use
"external link_error" or even "interface; subroutine link_error();end
subroutine; end interface" (e.g. if one passes the subroutine as
argument in a procedure call), but for your purpose one doesn't.
> Okay for mainline once the above patch is approved?
>
OK. Thanks for the patch!
Tobias