]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-address.c
re PR tree-optimization/48702 (optimization regression with gcc-4.6 on x86_64-unknown...
authorRichard Guenther <rguenther@suse.de>
Thu, 26 May 2011 13:01:48 +0000 (13:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 26 May 2011 13:01:48 +0000 (13:01 +0000)
commitac8e18759f24063961458ba1e94ca0bfa3138775
tree6ba8d1096dc8083667067ab711fce8126259c02e
parent7e32e6521aa6f699ddc1a00af5f38ceae120cb17
re PR tree-optimization/48702 (optimization regression with gcc-4.6 on x86_64-unknown-linux-gnu)

2011-05-26  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48702
* tree-ssa-address.c (create_mem_ref_raw): Create MEM_REFs
only when we know the base address is within bounds.
* tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Do not
assume the base address of TARGET_MEM_REFs is in bounds.

* gcc.dg/torture/pr48702.c: New testcase.

From-SVN: r174282
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr48702.c [new file with mode: 0644]
gcc/tree-ssa-address.c
gcc/tree-ssa-alias.c