[Bug fortran/33197] Fortran 2008: math functions

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat May 16 17:33:00 GMT 2009



------- Comment #20 from fxcoudert at gcc dot gnu dot org  2009-05-16 17:33 -------
Subject: Bug 33197

Author: fxcoudert
Date: Sat May 16 17:33:23 2009
New Revision: 147621

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147621
Log:
        PR fortran/33197

        * intrinsic.c (add_functions): Use ERFC_SCALED simplification.
        * intrinsic.h (gfc_simplify_erfc_scaled): New prototype.
        * simplify.c (fullprec_erfc_scaled, asympt_erfc_scaled,
        gfc_simplify_erfc_scaled): New functions.

        * gfortran.dg/erf_2.F90: New test.
        * gfortran.dg/erfc_scaled_2.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/erf_2.F90
    trunk/gcc/testsuite/gfortran.dg/erfc_scaled_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/intrinsic.c
    trunk/gcc/fortran/intrinsic.h
    trunk/gcc/fortran/simplify.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33197



More information about the Gcc-bugs mailing list