diff options
author | Andrew Pinski <apinski@apple.com> | 2004-08-15 19:26:32 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-08-15 12:26:32 -0700 |
commit | ead6d15f70bfdd702d3a7a4fbf3eaab14afcba82 (patch) | |
tree | 6bcacd875e3ce9792611301d13f0a353cc99978a /gcc/fortran/trans.h | |
parent | 23d4fa49c6b844fc4e4ca88708a92456ca865e80 (diff) | |
download | gcc-ead6d15f70bfdd702d3a7a4fbf3eaab14afcba82.zip gcc-ead6d15f70bfdd702d3a7a4fbf3eaab14afcba82.tar.gz gcc-ead6d15f70bfdd702d3a7a4fbf3eaab14afcba82.tar.bz2 |
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
Diffstat (limited to 'gcc/fortran/trans.h')
-rw-r--r-- | gcc/fortran/trans.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/fortran/trans.h b/gcc/fortran/trans.h index 51c63ce..7f9e997 100644 --- a/gcc/fortran/trans.h +++ b/gcc/fortran/trans.h @@ -465,10 +465,6 @@ gfc_powdecl_list; extern GTY(()) gfc_powdecl_list gfor_fndecl_math_powi[3][2]; extern GTY(()) tree gfor_fndecl_math_cpowf; extern GTY(()) tree gfor_fndecl_math_cpow; -extern GTY(()) tree gfor_fndecl_math_cabsf; -extern GTY(()) tree gfor_fndecl_math_cabs; -extern GTY(()) tree gfor_fndecl_math_sign4; -extern GTY(()) tree gfor_fndecl_math_sign8; extern GTY(()) tree gfor_fndecl_math_ishftc4; extern GTY(()) tree gfor_fndecl_math_ishftc8; extern GTY(()) tree gfor_fndecl_math_exponent4; |