From f68396a1e0fffa1b15b8c5b732cd4f83c1b6b24b Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Tue, 12 Jun 2012 08:43:55 +0000 Subject: emit-rtl.c (set_mem_attributes_minus_bitpos): Remove dead code. 2012-06-12 Richard Guenther * 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 --- gcc/emit-rtl.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gcc/emit-rtl.c') 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. */ -- cgit v1.1