tree-dfa.c (mark_new_vars_to_rename): Protect against calling with a PHI_NODE argument.
2005-07-25 Richard Guenther <rguenther@suse.de> * tree-dfa.c (mark_new_vars_to_rename): Protect against calling with a PHI_NODE argument. * tree-flow-inline.h (overlap_subvar): Protect against possible overflow. From-SVN: r102358
This commit is contained in:
parent
7fefc172f1
commit
5c97e2de43
@ -1,3 +1,11 @@
|
||||
2005-07-25 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* tree-dfa.c (mark_new_vars_to_rename): Protect against
|
||||
calling with a PHI_NODE argument.
|
||||
|
||||
* tree-flow-inline.h (overlap_subvar): Protect against
|
||||
possible overflow.
|
||||
|
||||
2005-07-25 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* aclocal.m4 (gcc_AC_CHECK_TOOL): Add /bin to default directory.
|
||||
|
@ -708,6 +708,9 @@ mark_new_vars_to_rename (tree stmt)
|
||||
int v_may_defs_before, v_may_defs_after;
|
||||
int v_must_defs_before, v_must_defs_after;
|
||||
|
||||
if (TREE_CODE (stmt) == PHI_NODE)
|
||||
return;
|
||||
|
||||
vars_in_vops_to_rename = BITMAP_ALLOC (NULL);
|
||||
|
||||
/* Before re-scanning the statement for operands, mark the existing
|
||||
|
@ -1518,7 +1518,7 @@ overlap_subvar (unsigned HOST_WIDE_INT offset, unsigned HOST_WIDE_INT size,
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else if (offset < sv->offset && (offset + size > sv->offset))
|
||||
else if (offset < sv->offset && (size > sv->offset - offset))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user