Tested on powerpc64le-linux-gnu and installed as obvious.

2017-08-30  Richard Sandiford  <richard.sandif...@linaro.org>

gcc/
        * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
        Use machine_mode rather than int for arg1_mode.

Index: gcc/config/rs6000/rs6000-c.c
===================================================================
--- gcc/config/rs6000/rs6000-c.c        2017-08-30 09:17:07.677166653 +0100
+++ gcc/config/rs6000/rs6000-c.c        2017-08-30 09:21:31.139741443 +0100
@@ -6729,7 +6729,7 @@ altivec_resolve_overloaded_builtin (loca
     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)
          {

Reply via email to