]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
reload.c (find_dummy_reload): Fix typo in 2006-04-03 change.
authorAlan Modra <amodra@bigpond.net.au>
Wed, 5 Apr 2006 14:45:12 +0000 (14:45 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Wed, 5 Apr 2006 14:45:12 +0000 (00:15 +0930)
* reload.c (find_dummy_reload): Fix typo in 2006-04-03 change.

From-SVN: r112705

gcc/ChangeLog
gcc/reload.c

index a7bea51a5c3e73921896883debe705596667cd1f..adefc69b97c416148fcf346e8a62ff60ae97cf9d 100644 (file)
@@ -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
index f3023ae78b48bbee20d898919743f7b5d77417bc..8a76c0ec8567391a826cf18d47ef811965b35bd9 100644 (file)
@@ -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;
   }