Fix non-local goto testsuite failures on sparc64.
authorDavid S. Miller <davem@pierdol.cobaltmicro.com>
Sun, 13 Sep 1998 21:22:53 +0000 (21:22 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Sun, 13 Sep 1998 21:22:53 +0000 (14:22 -0700)
* config/sparc/sparc.md (goto_handler_and_restore): Allow any mode
for operand zero.

From-SVN: r22406

gcc/ChangeLog
gcc/config/sparc/sparc.md

index 48ba44b..8abf913 100644 (file)
@@ -11,6 +11,9 @@ Sun Sep 13 19:17:35 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
        * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Get the names right
        for arch64 libfuncs.
        
+       * config/sparc/sparc.md (goto_handler_and_restore): Allow any mode
+       for operand zero.
+
 Sun Sep 13 09:11:59 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub.
index 8129fa3..a66cfda 100644 (file)
    (set_attr "length" "1")])
 
 (define_insn "goto_handler_and_restore"
-  [(unspec_volatile [(match_operand:SI 0 "register_operand" "=r")] 2)]
+  [(unspec_volatile [(match_operand 0 "register_operand" "=r")] 2)]
   ""
   "jmp\\t%0+0\\n\\trestore"
   [(set_attr "type" "misc")