tree-ssa-ccp.c (maybe_fold_offset_to_reference): Do not strip components for unknown size accesses.
2008-08-15 Richard Guenther <rguenther@suse.de> * tree-ssa-ccp.c (maybe_fold_offset_to_reference): Do not strip components for unknown size accesses. From-SVN: r139129
This commit is contained in:
parent
e1046890e7
commit
a214f4d615
@ -1,3 +1,8 @@
|
||||
2008-08-15 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* tree-ssa-ccp.c (maybe_fold_offset_to_reference): Do not
|
||||
strip components for unknown size accesses.
|
||||
|
||||
2008-08-15 Wolfgang Gellerich <gellerich@de.ibm.com>
|
||||
|
||||
* config/s390/2097.md New file.
|
||||
|
@ -1976,6 +1976,7 @@ maybe_fold_offset_to_reference (tree base, tree offset, tree orig_type)
|
||||
&size, &maxsize);
|
||||
gcc_assert (newbase);
|
||||
if (size == maxsize
|
||||
&& size != -1
|
||||
&& !(sub_offset & (BITS_PER_UNIT - 1)))
|
||||
{
|
||||
base = newbase;
|
||||
|
Loading…
x
Reference in New Issue
Block a user