re PR fortran/88229 (ICE tree check: expected integer_cst, have nop_expr in get_len...
authorRichard Biener <rguenther@suse.de>
Wed, 28 Nov 2018 10:59:12 +0000 (10:59 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 28 Nov 2018 10:59:12 +0000 (10:59 +0000)
commit80e6a1edf9f81362dd40b062ebf81ae7592d19d9
tree082401f4827be57a412ec872efdcbdc44c3d22cf
parentdcc4956cab842cbf2aee1a84a9548696565f8a2d
re PR fortran/88229 (ICE tree check: expected integer_cst, have nop_expr in get_len, at tree.h:5608)

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
gcc/ChangeLog
gcc/tree-ssa.c