diff mbox series

[rs6000] int->machine_mode in rs6000-c.c

Message ID 8760d51n04.fsf@linaro.org
State New
Headers show
Series [rs6000] int->machine_mode in rs6000-c.c | expand

Commit Message

Richard Sandiford Aug. 30, 2017, 8:24 a.m. UTC
Tested on powerpc64le-linux-gnu and installed as obvious.


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

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

Patch

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)
 	  {