sanity check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160530
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-06-10 Jan Hubicka <jh@suse.cz>
+
+ * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove TYPE_NEEDS_CONSTRUCTING
+ sanity check.
+
2010-06-10 Gerald Pfeifer <gerald@pfeifer.com>
* doc/include/fdl.texi: Move to GFDL version 1.3.
if (base && DECL_P (base)
&& TREE_READONLY (base)
&& (TREE_STATIC (base) || DECL_EXTERNAL (base)))
- {
- tree base_type = TREE_TYPE (base);
- gcc_assert (!(base_type && TYPE_NEEDS_CONSTRUCTING (base_type))
- || DECL_ARTIFICIAL (base));
- MEM_READONLY_P (ref) = 1;
- }
+ MEM_READONLY_P (ref) = 1;
/* If this expression uses it's parent's alias set, mark it such
that we won't change it. */