[Bug target/86869] ICE when taking address of array member of __memx struct pointer

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 21 10:43:00 GMT 2018


--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
  gcc_assert (GET_MODE (x) == to_mode || GET_MODE (x) == VOIDmode);
  return x;
#else /* defined(POINTERS_EXTEND_UNSIGNED) */
  scalar_int_mode pointer_mode, address_mode, from_mode;
  rtx temp;

So clearly avr has to define POINTERS_EXTEND_UNSIGNED in the correct way
and/or the assert needs to be ajdusted for pointer/address_mode of as.

More information about the Gcc-bugs mailing list