]> gcc.gnu.org Git - gcc.git/commitdiff
sparc.md (call-jump peepholes): Pass the right insn to can_throw_internal.
authorJason Merrill <jason@redhat.com>
Thu, 24 Jan 2002 10:42:55 +0000 (05:42 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 24 Jan 2002 10:42:55 +0000 (05:42 -0500)
        * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
        to can_throw_internal.

From-SVN: r49177

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

index de4b9fc0ff27136b51e3ac410c178e2c58360ec5..08bba7fd24a2f0c70d89c31ccb185c9a5904de30 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-24  Jason Merrill  <jason@redhat.com>
+
+       * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
+       to can_throw_internal.
+
 2002-01-23  Richard Henderson  <rth@redhat.com>
 
        * fold-const.c (fold): Change UINT_MAX test to check vs precision
index c708da4d975ed83669f194351db1e62be53731bd..c0b8f6092fa3470f9d4cb783681c8febbccdc66e 100644 (file)
              (clobber (reg:SI 15))])
    (set (pc) (label_ref (match_operand 3 "" "")))]
   "short_branch (INSN_UID (insn), INSN_UID (operands[3]))
-   && (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (insn))"
+   && (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (ins1))"
   "call\\t%a1, %2\\n\\tadd\\t%%o7, (%l3-.-4), %%o7")
 
 (define_peephole
              (clobber (reg:SI 15))])
    (set (pc) (label_ref (match_operand 2 "" "")))]
   "short_branch (INSN_UID (insn), INSN_UID (operands[2]))
-   && (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (insn))"
+   && (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (ins1))"
   "call\\t%a0, %1\\n\\tadd\\t%%o7, (%l2-.-4), %%o7")
 
 (define_peephole
    (set (pc) (label_ref (match_operand 3 "" "")))]
   "TARGET_ARCH64
    && short_branch (INSN_UID (insn), INSN_UID (operands[3]))
-   && (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (insn))"
+   && (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (ins1))"
   "call\\t%a1, %2\\n\\tadd\\t%%o7, (%l3-.-4), %%o7")
 
 (define_peephole
    (set (pc) (label_ref (match_operand 2 "" "")))]
   "TARGET_ARCH64
    && short_branch (INSN_UID (insn), INSN_UID (operands[2]))
-   && (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (insn))"
+   && (USING_SJLJ_EXCEPTIONS || ! can_throw_internal (ins1))"
   "call\\t%a0, %1\\n\\tadd\\t%%o7, (%l2-.-4), %%o7")
 
 (define_insn "prefetch"
This page took 0.0683859999999999 seconds and 5 git commands to generate.