diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/reload.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a7bea51..adefc69 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 f3023ae..8a76c0e 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; } |
