PR79584, ICE in base_to_reg
commit0a001dcba6ab07a6569031a52fb0375eaa8fe94f
authorAlan Modra <amodra@gmail.com>
Sat, 25 Feb 2017 22:44:41 +0000 (26 09:14 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Sat, 25 Feb 2017 22:44:41 +0000 (26 09:14 +1030)
tree54327ae61a01617771e4df744de94bc01f82e681
parent888339e6484b40591bbc9728eb2c0228715889c1
PR79584, ICE in base_to_reg

PR rtl-optimization/79584
* lra-constraints.c (base_to_reg): Reload ad->base, the entire
base, not ad->base_term, the reg within base.  Remove assertion
that ad->base == ad->base_term.  Replace gen_int_mode using
bogus mode with const0_rtx.

From-SVN: r245741
gcc/ChangeLog
gcc/lra-constraints.c