diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-06-12 08:43:55 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-06-12 08:43:55 +0000 |
commit | cbc80ce5f92a7e07c9ce3267332d29d35638c3a2 (patch) | |
tree | 011d7419e5eca6bff61d2f8643f8a7fad5e60297 /gcc/emit-rtl.c | |
parent | 92f67f6e28f7c71fbd7c7c6b40c04d614b5989cf (diff) | |
download | gcc-cbc80ce5f92a7e07c9ce3267332d29d35638c3a2.tar.gz |
2012-06-12 Richard Guenther <rguenther@suse.de>
* emit-rtl.c (set_mem_attributes_minus_bitpos): Remove dead code.
* alias.c (ao_ref_from_mem): MEM_EXPR is conservative, MEM_OFFSET
and MEM_SIZE only refines it. Reflect that and be less conservative
if either of the latter is not known.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188429 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index c2d734bf17e..09be139dbd3 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -1838,15 +1838,6 @@ set_mem_attributes_minus_bitpos (rtx ref, tree t, int objectp, /* ??? Any reason the field size would be different than the size we got from the type? */ } - - /* If this is an indirect reference, record it. */ - else if (TREE_CODE (t) == MEM_REF) - { - attrs.expr = t; - attrs.offset_known_p = true; - attrs.offset = 0; - apply_bitpos = bitpos; - } } /* If this is an indirect reference, record it. */ |