Revert
authorJosef Zlomek <zlomekj@suse.cz>
Thu, 22 Apr 2004 12:16:33 +0000 (14:16 +0200)
committerJosef Zlomek <zlomek@gcc.gnu.org>
Thu, 22 Apr 2004 12:16:33 +0000 (12:16 +0000)
2004-04-20  Josef Zlomek  <zlomekj@suse.cz>

* var-tracking.c (variable_part_different_p): Variable parts
differ when the most recent locations differ.

From-SVN: r81011

gcc/ChangeLog
gcc/var-tracking.c

index caca85bdf3e5b1a80350f30fb14f7d30ee6dcb7d..ad91d66d7f2491459514a91892a8caad26481a00 100644 (file)
@@ -1,3 +1,11 @@
+2004-04-22  Josef Zlomek  <zlomekj@suse.cz>
+
+       Revert
+       2004-04-20  Josef Zlomek  <zlomekj@suse.cz>
+
+               * var-tracking.c (variable_part_different_p): Variable parts
+               differ when the most recent locations differ.
+
 2004-04-22  Richard Sandiford  <rsandifo@redhat.com>
 
        * doc/invoke.texi: Remove the MIPS -membedded-pic option.
index 55aeb9a3e7f8afc43cd176409aac7b55af4640d6..be66392f07d1902df973b661ae74243dbe1eb980 100644 (file)
@@ -1242,12 +1242,6 @@ variable_part_different_p (variable_part *vp1, variable_part *vp2)
 {
   location_chain lc1, lc2;
 
-  if (!((GET_CODE (vp1->cur_loc) == REG
-        && GET_CODE (vp2->cur_loc) == REG
-        && REGNO (vp1->cur_loc) == REGNO (vp2->cur_loc))
-       || rtx_equal_p (vp1->cur_loc, vp2->cur_loc)))
-    return true;
-
   for (lc1 = vp1->loc_chain; lc1; lc1 = lc1->next)
     {
       for (lc2 = vp2->loc_chain; lc2; lc2 = lc2->next)