https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120070

--- Comment #6 from Adam Sampson <ats-gccbugs at offog dot org> ---
Created attachment 61518
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61518&action=edit
Minimised example 2

I've just run into a second example of this while crossbuilding libzip 1.11.4 -
the attached pr120070b.c is minimised from zip_hash.c.

"m68k-linux-gnu-gcc -O2 -c pr120070b.c" produces an ICE in the same place, and
looking at -fdump-rtl-all output shows that reload is producing "(reg:DI -1
[+-4 ])" as above. Adding -mrla fixes it.

Reply via email to