This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove bogus can_extend
- From: Richard Sandiford <richard dot sandiford at arm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 05 Aug 2015 15:21:24 +0100
- Subject: Remove bogus can_extend
- Authentication-results: sourceware.org; auth=none
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 --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))