From 68905c2883c62197cde61b38ec51ef16a0b1f0af Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 30 Aug 2017 08:24:32 +0000 Subject: [PATCH] [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 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000-c.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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) { -- 2.30.2