From 3b6cb9200d58f3a74d7240b94ded2343759758ba Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 24 Jan 2002 05:42:55 -0500 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/sparc/sparc.md | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) 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" -- 2.30.2