diff mbox

Remove bogus can_extend

Message ID 878u9pke8r.fsf@e105548-lin.cambridge.arm.com
State New
Headers show

Commit Message

Richard Sandiford Aug. 5, 2015, 2:21 p.m. UTC
Richard Henderson <rth@redhat.com> writes:
> On 07/28/2015 01:36 PM, Richard Sandiford wrote:
> > Index: gcc/target-insns.def
> > ===================================================================
> > --- gcc/target-insns.def	2015-07-28 20:56:29.721512028 +0100
> > +++ gcc/target-insns.def	2015-07-28 20:56:29.713512127 +0100
> > @@ -34,6 +34,7 @@ DEF_TARGET_INSN (allocate_stack, (rtx x0
> >  DEF_TARGET_INSN (builtin_longjmp, (rtx x0))
> >  DEF_TARGET_INSN (builtin_setjmp_receiver, (rtx x0))
> >  DEF_TARGET_INSN (builtin_setjmp_setup, (rtx x0))
> > +DEF_TARGET_INSN (can_extend, (rtx x0, rtx x1))
> >  DEF_TARGET_INSN (canonicalize_funcptr_for_compare, (rtx x0, rtx x1))
> >  DEF_TARGET_INSN (casesi, (rtx x0, rtx x1, rtx x2, rtx x3, rtx x4))
> >  DEF_TARGET_INSN (check_stack, (rtx x0))
>
> Am I missing something?  Where is the can_extend hook used?

Gah.  I'd even fixed this on my local machine but committed it on the
work machine (where most of the testing was done).

Tested on x86_64-linux-gnu and committed as obvious.  Thanks for
catching it.

Richard

gcc/
	* target-insns.def (can_extend): Delete.
diff mbox

Patch

diff --git a/gcc/target-insns.def b/gcc/target-insns.def
index 0c64a6b..ef8e6b0 100644
--- a/gcc/target-insns.def
+++ b/gcc/target-insns.def
@@ -35,7 +35,6 @@  DEF_TARGET_INSN (atomic_test_and_set, (rtx x0, rtx x1, rtx x2))
 DEF_TARGET_INSN (builtin_longjmp, (rtx x0))
 DEF_TARGET_INSN (builtin_setjmp_receiver, (rtx x0))
 DEF_TARGET_INSN (builtin_setjmp_setup, (rtx x0))
-DEF_TARGET_INSN (can_extend, (rtx x0, rtx x1))
 DEF_TARGET_INSN (canonicalize_funcptr_for_compare, (rtx x0, rtx x1))
 DEF_TARGET_INSN (casesi, (rtx x0, rtx x1, rtx x2, rtx x3, rtx x4))
 DEF_TARGET_INSN (check_stack, (rtx x0))