recog.c (validate_replace_rtx_subexp): Remove.
authorKazu Hirata <kazu@codesourcery.com>
Sat, 28 Jan 2006 22:03:00 +0000 (22:03 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 28 Jan 2006 22:03:00 +0000 (22:03 +0000)
* recog.c (validate_replace_rtx_subexp): Remove.
* recog.h: Remove the prototype for
validate_replace_rtx_subexp.

From-SVN: r110335

gcc/ChangeLog
gcc/recog.c
gcc/recog.h

index f7210c4f4db82c16fd850bfbf121f89bee0a0939..8c90bfb30bd6662ff75fcc7f031d50a1e1230994 100644 (file)
@@ -3,6 +3,10 @@
        * expmed.c (const_mult_add_overflow_p): Remove.
        * expr.h: Remove the prototype for const_mult_add_overflow_p.
 
+       * recog.c (validate_replace_rtx_subexp): Remove.
+       * recog.h: Remove the prototype for
+       validate_replace_rtx_subexp.
+
 2006-01-28  David Edelsohn  <edelsohn@gnu.org>
 
        * config/rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -msoft-float
index 25e143bce4c4905cf5ee997ed7488d51b163bad0..840f301e92fbf1799debafec8a153fa9ddf7fcde 100644 (file)
@@ -688,17 +688,6 @@ validate_replace_rtx_1 (rtx *loc, rtx from, rtx to, rtx object)
     }
 }
 
-/* Try replacing every occurrence of FROM in subexpression LOC of INSN
-   with TO.  After all changes have been made, validate by seeing
-   if INSN is still valid.  */
-
-int
-validate_replace_rtx_subexp (rtx from, rtx to, rtx insn, rtx *loc)
-{
-  validate_replace_rtx_1 (loc, from, to, insn);
-  return apply_change_group ();
-}
-
 /* Try replacing every occurrence of FROM in INSN with TO.  After all
    changes have been made, validate by seeing if INSN is still valid.  */
 
index 29bc2fd067d02df22b0ceae0abb26af8da72abc9..b10b1613becf09261ce247b870cf42decf2fe949 100644 (file)
@@ -85,7 +85,6 @@ extern int constrain_operands (int);
 extern int constrain_operands_cached (int);
 extern int memory_address_p (enum machine_mode, rtx);
 extern int strict_memory_address_p (enum machine_mode, rtx);
-extern int validate_replace_rtx_subexp (rtx, rtx, rtx, rtx *);
 extern int validate_replace_rtx (rtx, rtx, rtx);
 extern void validate_replace_rtx_group (rtx, rtx, rtx);
 extern void validate_replace_src_group (rtx, rtx, rtx);