sparc patchlet

Richard Henderson rth@twiddle.net
Sun Feb 28 16:00:00 GMT 1999


Friday's genextract tweek exposed a bug on the Sparc -- the default
length pokes at arguments that aren't there.


r~


	* sparc.md (blockage, nonlocal_goto_receiver): Set length to 0.

Index: config/sparc/sparc.md
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/sparc/sparc.md,v
retrieving revision 1.68
diff -u -p -r1.68 sparc.md
--- sparc.md	1999/01/08 01:02:43	1.68
+++ sparc.md	1999/02/28 23:55:42
@@ -7601,7 +7601,8 @@
 (define_insn "blockage"
   [(unspec_volatile [(const_int 0)] 0)]
   ""
-  "")
+  ""
+  [(set_attr "length" "0")])
 
 ;; Prepare to return any type including a structure value.
 
@@ -8187,7 +8188,8 @@
 (define_insn "nonlocal_goto_receiver"
   [(unspec_volatile [(const_int 0)] 5)]
   "flag_pic"
-  "")
+  ""
+  [(set_attr "length" "0")])
 
 (define_insn "trap"
   [(trap_if (const_int 1) (const_int 5))]
@@ -8220,4 +8222,3 @@
   "t%C0\\t%%xcc, %1"
   [(set_attr "type" "misc")
    (set_attr "length" "1")])
-


More information about the Gcc-patches mailing list