[Bug fortran/14540] [gfortran] Intrinsic CLOG returns wrong result
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Apr 18 17:47:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-04-18 17:29 -------
Subject: Bug 14540
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: pbrook@gcc.gnu.org 2004-04-18 17:29:26
Modified files:
gcc/fortran : ChangeLog arith.c arith.h simplify.c
gcc/testsuite : ChangeLog.tree-ssa
gcc/testsuite/gfortran.fortran-torture/execute: math.f90
Log message:
PR fortran/14921
PR fortran/14540
* arith.c (arctangent2): New function.
* arith.h (arctangent2): Add function prototype.
* simplify.c (gfc_simplify_atan2): Use it.
(gfc_simplify_log): Use it.
testsuite
PR fortran/14921
PR fortran/14540
* gfortran.fortran-torture/execute/math.f90: Add atan2 and clog
simplify test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.139&r2=1.1.2.140
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/arith.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.4&r2=1.1.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/arith.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/simplify.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.5&r2=1.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.223&r2=1.1.2.224
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.fortran-torture/execute/math.f90.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.1&r2=1.1.2.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14540
More information about the Gcc-bugs
mailing list