]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/33197 (Fortran 2008: math functions)
authorTobias Burnus <burnus@net-b.de>
Sun, 26 Jul 2009 17:25:56 +0000 (19:25 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Sun, 26 Jul 2009 17:25:56 +0000 (19:25 +0200)
commitddf6799888c579fd30789d02f6eda89d54b63340
treeb259f058789db8ed3708b7eb713e618b6c81dc13
parentf6c7fcc0d57109c145195175cad0c7d433b1f39a
re PR fortran/33197 (Fortran 2008: math functions)

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

From-SVN: r150100
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/intrinsic.c
gcc/fortran/intrinsic.h
gcc/fortran/intrinsic.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/atan2_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/atan2_2.f90 [new file with mode: 0644]