diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-08 11:38:43 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-08 11:38:43 +0000 |
commit | 16952c2cac969ef045f63fe18764b4f1d719eac5 (patch) | |
tree | 222d856bd4e364f7cc1df6fadbcc8ad5bb0f1728 /gcc/config/freebsd.h | |
parent | 2cb9ef3991e49cca727e9b9959820473d666016f (diff) | |
download | gcc-16952c2cac969ef045f63fe18764b4f1d719eac5.tar.gz |
2010-07-08 Richard Guenther <rguenther@suse.de>
PR tree-optimization/44831
* tree-ssa-phiprop.c (phiprop_insert_phi): Properly build
a MEM_REF preserving TBAA info of the original dereference.
Dereference the original pointer if the address is not
invariant.
(propagate_with_phi): Fixup type checks wrt MEM_REFs. Require
at least one invariant address that we are going to dereference.
* gcc.c-torture/compile/pr44831.c: New testcase.
* gcc.dg/tree-ssa/pr21463.c: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161950 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/freebsd.h')
0 files changed, 0 insertions, 0 deletions