diff options
| author | pbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-06 20:45:14 +0000 |
|---|---|---|
| committer | pbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-06 20:45:14 +0000 |
| commit | 4007e2c54decc22beeef862535d0a619b0247ecf (patch) | |
| tree | a6544827d4c1a265256e510977904d8a1afc5458 /gcc | |
| parent | 4b1085dbe8854d7d0d8429bff1887bd990c1c382 (diff) | |
| download | ppe42-gcc-4007e2c54decc22beeef862535d0a619b0247ecf.tar.gz ppe42-gcc-4007e2c54decc22beeef862535d0a619b0247ecf.zip | |
* f95-lang.c (gfc_init_builtin_functions): Fix the number of
__builtin_pow[f] arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85653 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/fortran/f95-lang.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 4d0b3309ffc..7eb4fb566b3 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -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. diff --git a/gcc/fortran/f95-lang.c b/gcc/fortran/f95-lang.c index 3afeb668e65..78bf19a924b 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. */ |

