5b200ac2c7
* 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 |
||
---|---|---|
.. | ||
generated | ||
intrinsics | ||
io | ||
m4 | ||
runtime | ||
acinclude.m4 | ||
aclocal.m4 | ||
AUTHORS | ||
ChangeLog | ||
config.h.in | ||
configure | ||
configure.in | ||
COPYING | ||
fmain.c | ||
INSTALL | ||
libgfortran.h | ||
Makefile.am | ||
Makefile.in | ||
NEWS | ||
README |
This is the GNU Fortran 95 Runtime library (libgfortran). It is intended to be compiled as part of GCC. Programs must be linked with "-lgfortran -lm". The 'gfortran' driver does this automatically. You'll need to apply gcc_config.patch to your top level GCC source directory. This tells the the GCC configure system about libgfor. This patch can confuse patch as it contains a filename with a '-' in it. use "patch -p1" to avoid this problem. For more information about GNU Fortran 95, see http://gcc-g95.sourceforge.net Paul Brook <paul@nowt.org>