[fortran, patch] pr31760, missing elemental applicability

Daniel Franke franke.daniel@gmail.com
Fri May 4 19:26:00 GMT 2007


On Friday 04 May 2007 17:58:46 François-Xavier Coudert wrote:
> > 2007-04-29  Daniel Franke  <franke.daniel@gmail.com>
> >
> >         PR fortran/31760
> >         * intrinsic.c (add_functions): Replaced calls to
> > gfc_check_g77_math1 by gfc_check_fn_r to avoid checks for scalarity.
> >         * check.c (gfc_check_besn): Removed check for scalarity.
> >         (gfc_check_g77_math1): Removed.
> >         * intrinsic.h (gfc_check_g77_math1): Removed.
>
> OK if it regtested fine and you add a compile-time testcase, to see
> that arrays arguments are indeed accepted.

Committed r124446 together with these compile tests:

        * gfortran.dg/erf.f90: New test.
        * gfortran.dg/besxy.f90: New test.

FX, thanks for your review :)



More information about the Fortran mailing list