From: Feng Wang Date: Fri, 6 Aug 2004 20:45:14 +0000 (+0000) Subject: f95-lang.c (gfc_init_builtin_functions): Fix the number of __builtin_pow[f] arguments. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7d78bbe0e447685dacd1063f28da8c0c50c289f;p=gcc.git 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 --- 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 + + * f95-lang.c (gfc_init_builtin_functions): Fix the number of + __builtin_pow[f] arguments. + 2004-08-06 Steven G. Kargl * 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. */