This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix a couple of warnings on SPARC


They were recently introduced, they are regressions from 3.4.x.

Installed on mainline.


2005-01-04  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* config/sparc/sparc.md (save_register_windowdi): Add missing mode.
	(save_register_windowsi): Likewise.


-- 
Eric Botcazou
Index: config/sparc/sparc.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/sparc.md,v
retrieving revision 1.223
diff -u -p -r1.223 sparc.md
--- config/sparc/sparc.md	26 Nov 2004 19:21:16 -0000	1.223
+++ config/sparc/sparc.md	4 Jan 2005 18:58:37 -0000
@@ -7723,9 +7723,9 @@
 
 (define_insn "save_register_windowdi"
   [(set (reg:DI 30) (reg:DI 14))
-   (set (reg:DI 14) (unspec_volatile [(reg:DI 14)
-				      (match_operand:DI 0 "arith_operand" "rI")]
-				     UNSPECV_SAVEW))
+   (set (reg:DI 14) (unspec_volatile:DI [(reg:DI 14)
+					 (match_operand:DI 0 "arith_operand" "rI")]
+				        UNSPECV_SAVEW))
    (set (reg:DI 31) (reg:DI 15))]
   "TARGET_ARCH64"
   "save\t%%sp, %0, %%sp"
@@ -7733,9 +7733,9 @@
 
 (define_insn "save_register_windowsi"
   [(set (reg:SI 30) (reg:SI 14))
-   (set (reg:SI 14) (unspec_volatile [(reg:SI 14)
-				      (match_operand:SI 0 "arith_operand" "rI")]
-				     UNSPECV_SAVEW))
+   (set (reg:SI 14) (unspec_volatile:SI [(reg:SI 14)
+					 (match_operand:SI 0 "arith_operand" "rI")]
+				        UNSPECV_SAVEW))
    (set (reg:SI 31) (reg:SI 15))]
   "!TARGET_ARCH64"
   "save\t%%sp, %0, %%sp"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]