2018-11-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/88229
* tree-ssa.c (non_rewritable_mem_ref_base): Check DECL_SIZE_UNIT
is an INTEGER_CST before accessing it so.
From-SVN: r266550
+2018-11-28 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/88229
+ * tree-ssa.c (non_rewritable_mem_ref_base): Check DECL_SIZE_UNIT
+ is an INTEGER_CST before accessing it so.
+
2018-11-28 Sam Tebbs <sam.tebbs@arm.com>
* doc/invoke.texi (-mtune=): Remove obsolete CPU names.
return NULL_TREE;
/* For integral typed extracts we can use a BIT_FIELD_REF. */
if (DECL_SIZE (decl)
+ && TREE_CODE (DECL_SIZE_UNIT (decl)) == INTEGER_CST
&& (known_subrange_p
(mem_ref_offset (base),
wi::to_poly_offset (TYPE_SIZE_UNIT (TREE_TYPE (base))),