summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-28 22:03:00 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-28 22:03:00 +0000
commit8b9ad4fb7aa15424953817b0ace135f6a8056fd1 (patch)
treeeb5acbf96e45544ccb3c1bb4846a0608afb2b520
parentc601036e96a6fea9556d107c804944822d2bebce (diff)
downloadgcc-8b9ad4fb7aa15424953817b0ace135f6a8056fd1.tar.gz
* recog.c (validate_replace_rtx_subexp): Remove.
* recog.h: Remove the prototype for validate_replace_rtx_subexp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110335 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/recog.c11
-rw-r--r--gcc/recog.h1
3 files changed, 4 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f7210c4f4db..8c90bfb30bd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/recog.c b/gcc/recog.c
index 25e143bce4c..840f301e92f 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -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. */
diff --git a/gcc/recog.h b/gcc/recog.h
index 29bc2fd067d..b10b1613bec 100644
--- a/gcc/recog.h
+++ b/gcc/recog.h
@@ -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);