f95-lang.c (gfc_init_builtin_functions): Fix the number of __builtin_pow[f] arguments.

* f95-lang.c (gfc_init_builtin_functions): Fix the number of
	__builtin_pow[f] arguments.

From-SVN: r85653
This commit is contained in:
Feng Wang 2004-08-06 20:45:14 +00:00 committed by Paul Brook
parent f8e566e525
commit c7d78bbe0e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-08-06 Feng Wang <fengwang@nudt.edu.cn>
* f95-lang.c (gfc_init_builtin_functions): Fix the number of
__builtin_pow[f] arguments.
2004-08-06 Steven G. Kargl <kargls@comcast.net>
* arith.c: Add #define for model numbers. Remove global GMP variables.

View File

@ -750,9 +750,9 @@ gfc_init_builtin_functions (void)
BUILT_IN_ROUNDF, "roundf", true);
/* These are used to implement the ** operator. */
gfc_define_builtin ("__builtin_pow", mfunc_double[0],
gfc_define_builtin ("__builtin_pow", mfunc_double[1],
BUILT_IN_POW, "pow", true);
gfc_define_builtin ("__builtin_powf", mfunc_float[0],
gfc_define_builtin ("__builtin_powf", mfunc_float[1],
BUILT_IN_POWF, "powf", true);
/* Other builtin functions we use. */