From: Jason Merrill Date: Thu, 24 Jan 2002 10:42:55 +0000 (-0500) Subject: sparc.md (call-jump peepholes): Pass the right insn to can_throw_internal. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b6cb9200d58f3a74d7240b94ded2343759758ba;p=gcc.git sparc.md (call-jump peepholes): Pass the right insn to can_throw_internal. * config/sparc/sparc.md (call-jump peepholes): Pass the right insn to can_throw_internal. From-SVN: r49177 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de4b9fc0ff2..08bba7fd24a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-01-24 Jason Merrill + + * config/sparc/sparc.md (call-jump peepholes): Pass the right insn + to can_throw_internal. + 2002-01-23 Richard Henderson * fold-const.c (fold): Change UINT_MAX test to check vs precision diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index c708da4d975..c0b8f6092fa 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -9258,7 +9258,7 @@ (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 @@ -9267,7 +9267,7 @@ (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 @@ -9278,7 +9278,7 @@ (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 @@ -9288,7 +9288,7 @@ (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"