re PR fortran/17030 (gfortran does not optimize ABS of complex that well)
authorAndrew Pinski <apinski@apple.com>
Sun, 15 Aug 2004 19:26:32 +0000 (19:26 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sun, 15 Aug 2004 19:26:32 +0000 (12:26 -0700)
commitead6d15f70bfdd702d3a7a4fbf3eaab14afcba82
tree6bcacd875e3ce9792611301d13f0a353cc99978a
parent23d4fa49c6b844fc4e4ca88708a92456ca865e80
re PR fortran/17030 (gfortran does not optimize ABS of complex that well)

2004-08-15  Andrew Pinski  <apinski@apple.com>

        PR fortran/17030
        * f95-lang.c (gfc_init_builtin_functions): Initialize the builtins
        for cabs{,f} and copysign{,f}.
        * trans-decl.c (gfor_fndecl_math_cabsf): Delete.
        (gfor_fndecl_math_cabs): Delete.
        (gfor_fndecl_math_sign4): Delete.
        (gfor_fndecl_math_sign8): Delete.
        (gfc_build_intrinsic_function_decls): Remove the
        initializing of cabs{,f} and copysign{,f} functions.
        * trans-intrinsic.c (gfc_conv_intrinsic_abs): Use the builtins
        instead of the functions definitions.
        (gfc_conv_intrinsic_sign): Likewise.
        * trans.h (gfor_fndecl_math_cabsf): Delete.
        (gfor_fndecl_math_cabs): Delete.
        (gfor_fndecl_math_sign4): Delete.
        (gfor_fndecl_math_sign8): Delete.

From-SVN: r86027
gcc/fortran/ChangeLog
gcc/fortran/f95-lang.c
gcc/fortran/trans-decl.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans.h