re PR rtl-optimization/91173 (ICE: in int_mode_for_mode, at stor-layout.c:403)
authorJeff Law <law@redhat.com>
Tue, 16 Jul 2019 14:44:44 +0000 (08:44 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 16 Jul 2019 14:44:44 +0000 (08:44 -0600)
commitf0593c53f3684f82b29f96b43393f5f39e890fed
treef11555575dbcc3b8c3656c20d41d508fb42b336c
parentde2ad117f603491e404acb90510981aa27e087cc
re PR rtl-optimization/91173 (ICE: in int_mode_for_mode, at stor-layout.c:403)

PR rtl-optimization/91173
* tree-ssa-address.c (addr_for_mem_ref): If the base is an
SSA_NAME with a constant value, fold its value into the offset
and clear the base before calling gen_addr_rtx.

From-SVN: r273529
gcc/ChangeLog
gcc/tree-ssa-address.c