diff options
author | Richard Guenther <rguenther@suse.de> | 2012-06-12 08:43:55 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-06-12 08:43:55 +0000 |
commit | f68396a1e0fffa1b15b8c5b732cd4f83c1b6b24b (patch) | |
tree | 011d7419e5eca6bff61d2f8643f8a7fad5e60297 /gcc/emit-rtl.c | |
parent | 891ca07d493c51f468710ba0f4af74bbe5e09fdd (diff) | |
download | gcc-f68396a1e0fffa1b15b8c5b732cd4f83c1b6b24b.zip gcc-f68396a1e0fffa1b15b8c5b732cd4f83c1b6b24b.tar.gz gcc-f68396a1e0fffa1b15b8c5b732cd4f83c1b6b24b.tar.bz2 |
emit-rtl.c (set_mem_attributes_minus_bitpos): Remove dead code.
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.
From-SVN: r188429
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 c2d734b..09be139 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. */ |