public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [rs6000] int->machine_mode in rs6000-c.c
@ 2017-08-30  9:16 Richard Sandiford
  0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2017-08-30  9:16 UTC (permalink / raw)
  To: gcc-patches

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.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-30  8:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-30  9:16 [rs6000] int->machine_mode in rs6000-c.c Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).