aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/ChangeLog
diff options
context:
space:
mode:
authorFeng Wang <fengwang@nudt.edu.cn>2004-05-19 00:34:59 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2004-05-19 00:34:59 +0000
commit5b200ac2c7278c022c23a684589df1b31a40a153 (patch)
tree6d5551f77f0b03649dcf0b885fe4be35ce373a23 /gcc/fortran/ChangeLog
parent933520b9beeea22009be7637b3186c61679266b0 (diff)
downloadgcc-5b200ac2c7278c022c23a684589df1b31a40a153.zip
gcc-5b200ac2c7278c022c23a684589df1b31a40a153.tar.gz
gcc-5b200ac2c7278c022c23a684589df1b31a40a153.tar.bz2
f95-lang.c (gfc_init_builtin_functions): Use vold_list_node.
* f95-lang.c (gfc_init_builtin_functions): Use vold_list_node. Create decls for __builtin_pow{,f}. * gfortran.h (PREFIX_LEN): Define. * trans-decl.c (gfor_fndecl_math_powi): Add. (gfor_fndecl_math_powf, gfor_fndecl_math_pow): Remove. (gfc_build_intrinsic_function_decls): Create decls for powi. * trans-expr.c (powi_table): Add. (gfc_conv_integer_power): Remove. (gfc_conv_powi): New function. (gfc_conv_cst_int_power): New function. (gfc_conv_power_op): Use new powi routines. * trans.h (struct gfc_powdecl_list): Add. (gfor_fndecl_math_powi): Add. (gfor_fndecl_math_powf, gfor_fndecl_math_pow): Remove. testsuite/ * gfortran.fortran-torture/execute/power.f90: Test constant integers. libgfortran/ * Makefile.am (i_pow_c): Set it. Add build rule. (gfor_built_src): Use it. (m4_files): add m4/pow.m4. * Makefile.in: Regenerate. * m4/pow.m4: New file. * generated/pow_*.c: Regenerate. From-SVN: r82014
Diffstat (limited to 'gcc/fortran/ChangeLog')
-rw-r--r--gcc/fortran/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 0ee8fbe..babea08 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,20 @@
+2004-05-18 Paul Brook <paul@codesourcery.com>
+
+ * f95-lang.c (gfc_init_builtin_functions): Use vold_list_node.
+ Create decls for __builtin_pow{,f}.
+ * gfortran.h (PREFIX_LEN): Define.
+ * trans-decl.c (gfor_fndecl_math_powi): Add.
+ (gfor_fndecl_math_powf, gfor_fndecl_math_pow): Remove.
+ (gfc_build_intrinsic_function_decls): Create decls for powi.
+ * trans-expr.c (powi_table): Add.
+ (gfc_conv_integer_power): Remove.
+ (gfc_conv_powi): New function.
+ (gfc_conv_cst_int_power): New function.
+ (gfc_conv_power_op): Use new powi routines.
+ * trans.h (struct gfc_powdecl_list): Add.
+ (gfor_fndecl_math_powi): Add.
+ (gfor_fndecl_math_powf, gfor_fndecl_math_pow): Remove.
+
2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
* trans.c, trans-decl.c: Fix comment typos.