On Wed, Feb 05, 2020 at 04:29:38PM -0500, Michael Meissner wrote: > 2020-02-05 Michael Meissner <meiss...@linux.ibm.com> > > PR target/93568 > * config/rs6000/rs6000.c (get_vector_offset): Fix > > --- /tmp/a8cqkr_rs6000.c 2020-02-05 14:55:36.255021903 -0600 > +++ gcc/config/rs6000/rs6000.c 2020-02-05 13:27:00.393877012 -0600 > @@ -6744,8 +6744,7 @@ get_vector_offset (rtx mem, rtx element, > > /* All insns should use the 'Q' constraint (address is a single register) > if > the element number is not a constant. */ > - rtx addr = XEXP (mem, 0); > - gcc_assert (satisfies_constraint_Q (addr)); > + gcc_assert (satisfies_constraint_Q (mem)); > > /* Mask the element to make sure the element number is between 0 and the > maximum number of elements - 1 so that we don't generate an address
Okay for trunk. Thank you! Segher