https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87374
Thomas Preud'homme <thopre01 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |9.0 Known to fail|9.0 | --- Comment #7 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> --- Done. Note that the fact that the ICE does not occur for GCC <= 7 suggests that -mslow-flash-data is not working as intended there since -mword-relocations disables relocations on MOVW/MOVT and -mslow-flash-data should disable all literal pool leaving nothing to do a relocatable load into register. These flags are just not meant to be used together.