summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-25 19:50:14 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-25 19:50:14 +0000
commit3ea04b3afcdb5b87a25ab6e2985a13f9e9579dc9 (patch)
treef759e8647481a818d2eabc193cd9b5842dc7c6a8
parent3f1ab65c7a6934c38a3a7ab9c48e8f3f76783f78 (diff)
downloadgcc-3ea04b3afcdb5b87a25ab6e2985a13f9e9579dc9.tar.gz
* reload.c (regno_clobbered_p): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180444 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/reload.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1788d6af888..a004bac2483 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2011-10-21 Mike Stump <mikestump@comcast.net>
+
+ * reload.c (regno_clobbered_p): Fix typo.
+
2011-10-24 Dodji Seketeli <dodji@redhat.com>
* input.c (expand_location): Rewrite using
diff --git a/gcc/reload.c b/gcc/reload.c
index 53dcd2dafed..3ddc13e48fc 100644
--- a/gcc/reload.c
+++ b/gcc/reload.c
@@ -7231,7 +7231,7 @@ regno_clobbered_p (unsigned int regno, rtx insn, enum machine_mode mode,
{
rtx elt = XVECEXP (PATTERN (insn), 0, i);
if ((GET_CODE (elt) == CLOBBER
- || (sets == 1 && GET_CODE (PATTERN (insn)) == SET))
+ || (sets == 1 && GET_CODE (elt) == SET))
&& REG_P (XEXP (elt, 0)))
{
unsigned int test = REGNO (XEXP (elt, 0));