From 7781f014252bad9544562485e620200c005b5645 Mon Sep 17 00:00:00 2001 From: amodra Date: Wed, 5 Apr 2006 14:45:12 +0000 Subject: * 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 --- gcc/ChangeLog | 4 ++++ gcc/reload.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * reload.c (find_dummy_reload): Fix typo in 2006-04-03 change. + 2006-04-05 Sebastian Pop 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; } -- cgit v1.2.1