This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[fortran,patch]Fix power.f90 fail with -O0 on ia64
- From: Feng Wang <wf_cs at yahoo dot com>
- To: fortran <fortran at gcc dot gnu dot org>, patch <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 4 Aug 2004 11:56:16 +0800 (CST)
- Subject: [fortran,patch]Fix power.f90 fail with -O0 on ia64
Hi, Paul
This patch fixed an error about power.f90 showed in
http://gcc.gnu.org/ml/gcc-testresults/2004-08/msg00131.html
Feng Wang
ChangeLog entry:
2004-08-04 Feng Wang <fengwang@nudt.edu.cn>
* f95-lang.c (gfc_init_builtin_functions): Fix the number of
__builtin_pow[f] arguments.
_________________________________________________________
Do You Yahoo!?
美女明星应有尽有,"一搜"搜遍美图、艳图和酷图
http://image.yisou.com
100兆邮箱够不够用?雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/
*** f95-lang.c.err Wed Aug 4 11:35:59 2004
--- f95-lang.c Wed Aug 4 11:36:18 2004
*************** gfc_init_builtin_functions (void)
*** 775,783 ****
BUILT_IN_ROUNDF, "roundf", true);
/* These are used to implement the ** operator. */
! gfc_define_builtin ("__builtin_pow", mfunc_double[0],
BUILT_IN_POW, "pow", true);
! gfc_define_builtin ("__builtin_powf", mfunc_float[0],
BUILT_IN_POWF, "powf", true);
/* Other builtin functions we use. */
--- 775,783 ----
BUILT_IN_ROUNDF, "roundf", true);
/* These are used to implement the ** operator. */
! gfc_define_builtin ("__builtin_pow", mfunc_double[1],
BUILT_IN_POW, "pow", true);
! gfc_define_builtin ("__builtin_powf", mfunc_float[1],
BUILT_IN_POWF, "powf", true);
/* Other builtin functions we use. */