https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79584
--- Comment #7 from Alan Modra <amodra at gcc dot gnu.org> --- Author: amodra Date: Sat Feb 25 22:44:41 2017 New Revision: 245741 URL: https://gcc.gnu.org/viewcvs?rev=245741&root=gcc&view=rev Log: 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. Modified: trunk/gcc/ChangeLog trunk/gcc/lra-constraints.c