]> gcc.gnu.org Git - gcc.git/commitdiff
resource.c (mark_referenced_resources): Changed use SET_DEST (...) to XEXP (......
authorGraham Stott <grahams@rcp.co.uk>
Sat, 26 Feb 2000 05:19:35 +0000 (05:19 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 26 Feb 2000 05:19:35 +0000 (22:19 -0700)
        * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
        to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.

From-SVN: r32167

gcc/ChangeLog
gcc/resource.c

index 9edbc2ac3c913113dd4918b16a266830ee162374..51bec88c854e2b6986e830409dca7660bc1d899f 100644 (file)
@@ -20,6 +20,9 @@ Fri Feb 25 19:49:08 2000  Jeffrey A Law  (law@cygnus.com)
 
 Fri Feb 25 19:22:44 2000  Graham Stott <grahams@rcp.co.uk>
 
+       * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
+       to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
+
        * i386.md (define_expand "clrstrsi"): Fix typo.
 
 Fri Feb 25 18:49:39 2000  "K. Richard Pixley" <rich@microunity.com>
index 274cb230994874abb745694a466e994b1cb179a7..9d580867a9ab4ae86c242bbaa11bae4d49c2bf3b 100644 (file)
@@ -350,11 +350,11 @@ mark_referenced_resources (x, res, include_delayed_effects)
                      rtx slot_pat = PATTERN (XVECEXP (sequence, 0, i));
                      if (GET_CODE (slot_pat) == SET
                          && rtx_equal_p (SET_DEST (slot_pat),
-                                         SET_DEST (XEXP (link, 0))))
+                                         XEXP (XEXP (link, 0), 0)))
                        break;
                    }
                  if (i >= seq_size)
-                   mark_referenced_resources (SET_DEST (XEXP (link, 0)),
+                   mark_referenced_resources (XEXP (XEXP (link, 0), 0),
                                               res, 0);
                }
          }
This page took 0.08767 seconds and 5 git commands to generate.