gcc/libgfortran/m4
Feng Wang 5b200ac2c7 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
2004-05-19 00:34:59 +00:00
..
all.m4
any.m4
cexp.m4
chyp.m4
count.m4
cshift1.m4
ctrig.m4
dotprod.m4
dotprodc.m4
dotprodl.m4
eoshift1.m4
eoshift3.m4
exponent.m4
fraction.m4
head.m4
iforeach.m4
ifunction.m4
in_pack.m4
in_unpack.m4
iparm.m4
matmul.m4
matmull.m4
maxloc0.m4
maxloc1.m4
maxval.m4
minloc0.m4
minloc1.m4
minval.m4
mtype.m4
nearest.m4
pow.m4 f95-lang.c (gfc_init_builtin_functions): Use vold_list_node. 2004-05-19 00:34:59 +00:00
product.m4
reshape.m4
set_exponent.m4
shape.m4
specific.m4
specific2.m4
sum.m4
transpose.m4
types.m4