Commit a214f4d6 by Richard Guenther Committed by Richard Biener

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
parent e1046890
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment