mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-18 11:40:54 +08:00
var-tracking.c (variable_part_different_p): Variable parts differ when the most recent locations differ.
* var-tracking.c (variable_part_different_p): Variable parts differ when the most recent locations differ. From-SVN: r80880
This commit is contained in:
parent
a1bac22c43
commit
6f615a287e
@ -1,3 +1,8 @@
|
||||
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-19 James E Wilson <wilson@specifixinc.com>
|
||||
|
||||
* rtl.h (reg_set_last): Delete declaration.
|
||||
|
@ -1242,6 +1242,12 @@ 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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user