From: Richard Sandiford Date: Wed, 30 Aug 2017 08:24:32 +0000 (+0000) Subject: [rs6000] int->machine_mode in rs6000-c.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68905c2883c62197cde61b38ec51ef16a0b1f0af;p=gcc.git [rs6000] int->machine_mode in rs6000-c.c 2017-08-30 Richard Sandiford gcc/ * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Use machine_mode rather than int for arg1_mode. From-SVN: r251447 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b7cb4fea6b8..7c6b4360b60 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-08-30 Richard Sandiford + + * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): + Use machine_mode rather than int for arg1_mode. + 2017-08-29 Michael Meissner PR target/82015 diff --git a/gcc/config/rs6000/rs6000-c.c b/gcc/config/rs6000/rs6000-c.c index 1c9a8db7c62..2ab8793e1d2 100644 --- a/gcc/config/rs6000/rs6000-c.c +++ b/gcc/config/rs6000/rs6000-c.c @@ -6729,7 +6729,7 @@ altivec_resolve_overloaded_builtin (location_t loc, tree fndecl, else if (fcode == P9V_BUILTIN_VEC_VSIEDP) { int overloaded_code; - int arg1_mode = TYPE_MODE (types[0]); + machine_mode arg1_mode = TYPE_MODE (types[0]); if (nargs != 2) {