This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix a couple of warnings on SPARC
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 4 Jan 2005 20:03:24 +0100
- Subject: 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"