[Bug fortran/33197] Fortran 2008: math functions

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jul 26 17:26:00 GMT 2009



------- Comment #31 from burnus at gcc dot gnu dot org  2009-07-26 17:26 -------
Subject: Bug 33197

Author: burnus
Date: Sun Jul 26 17:25:56 2009
New Revision: 150100

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150100
Log:
2009-07-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/33197
        * intrinsic.c (make_generic): Remove assert as "atan" can be
        both ISYM_ATAN and ISYM_ATAN2.
        (add_functions): Add two-argument variant of ATAN.
        * intrinsic.h (gfc_check_atan_2): Add check for it.
        * intrinsic.texi (ATAN2): Correct and enhance description.
        (ATAN): Describe two-argument variant of ATAN.

2009-07-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/33197
        * gfortran.dg/atan2_1.f90: New test
        * gfortran.dg/atan2_2.f90: New test


Added:
    trunk/gcc/testsuite/gfortran.dg/atan2_1.f90
    trunk/gcc/testsuite/gfortran.dg/atan2_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/check.c
    trunk/gcc/fortran/intrinsic.c
    trunk/gcc/fortran/intrinsic.h
    trunk/gcc/fortran/intrinsic.texi
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list