From b10e5b3a5e750c7f6a7a0c4550d9b573252a56aa Mon Sep 17 00:00:00 2001 From: Josef Zlomek Date: Thu, 22 Apr 2004 14:16:33 +0200 Subject: [PATCH] Revert 2004-04-20 Josef Zlomek * var-tracking.c (variable_part_different_p): Variable parts differ when the most recent locations differ. From-SVN: r81011 --- gcc/ChangeLog | 8 ++++++++ gcc/var-tracking.c | 6 ------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index caca85bdf3e..ad91d66d7f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2004-04-22 Josef Zlomek + + Revert + 2004-04-20 Josef Zlomek + + * var-tracking.c (variable_part_different_p): Variable parts + differ when the most recent locations differ. + 2004-04-22 Richard Sandiford * doc/invoke.texi: Remove the MIPS -membedded-pic option. diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index 55aeb9a3e7f..be66392f07d 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -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) -- 2.30.2