summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-05 14:45:12 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-05 14:45:12 +0000
commit7781f014252bad9544562485e620200c005b5645 (patch)
tree4788c292fe389029407eb5caab2d629aa9eb1775
parentd06e70e5099e29c895db6b70778cc89bb7091cdd (diff)
downloadgcc-7781f014252bad9544562485e620200c005b5645.tar.gz
* reload.c (find_dummy_reload): Fix typo in 2006-04-03 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112705 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 a7bea51a5c3..adefc69b97c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-05 Alan Modra <amodra@bigpond.net.au>
+
+ * reload.c (find_dummy_reload): Fix typo in 2006-04-03 change.
+
2006-04-05 Sebastian Pop <pop@cri.ensmp.fr>
PR tree-optimization/26996
diff --git a/gcc/reload.c b/gcc/reload.c
index f3023ae78b4..8a76c0ec856 100644
--- a/gcc/reload.c
+++ b/gcc/reload.c
@@ -1896,7 +1896,7 @@ find_dummy_reload (rtx real_in, rtx real_out, rtx *inloc, rtx *outloc,
otherwise we might find a dummy now, but push_reload won't. */
{
enum reg_class preferred_class = PREFERRED_RELOAD_CLASS (in, class);
- if (class != NO_REGS)
+ if (preferred_class != NO_REGS)
class = preferred_class;
}