diff options
author | Feng Wang <fengwang@nudt.edu.cn> | 2004-08-06 20:45:14 +0000 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2004-08-06 20:45:14 +0000 |
commit | c7d78bbe0e447685dacd1063f28da8c0c50c289f (patch) | |
tree | a6544827d4c1a265256e510977904d8a1afc5458 /gcc/fortran/f95-lang.c | |
parent | f8e566e5253e4b0fe2dcd477fbc35ca5576cc7bc (diff) | |
download | gcc-c7d78bbe0e447685dacd1063f28da8c0c50c289f.zip gcc-c7d78bbe0e447685dacd1063f28da8c0c50c289f.tar.gz gcc-c7d78bbe0e447685dacd1063f28da8c0c50c289f.tar.bz2 |
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
Diffstat (limited to 'gcc/fortran/f95-lang.c')
-rw-r--r-- | gcc/fortran/f95-lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/f95-lang.c b/gcc/fortran/f95-lang.c index 3afeb66..78bf19a 100644 --- a/gcc/fortran/f95-lang.c +++ b/gcc/fortran/f95-lang.c @@ -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. */ |