https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69305
ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rth at gcc dot gnu.org --- Comment #9 from ktkachov at gcc dot gnu.org --- (In reply to ktkachov from comment #8) > (In reply to Jakub Jelinek from comment #7) > > The patterns are just weird. > > All that comes from the addti3 expander in aarch64.md > If I delete it the testcase doesn't abort. > I'll have a closer look there. Every approach I've tried to implement addti3 properly (that is, comparing (a + b) u< a instead of (a + b) u>= 0) doesn't give better code than 4.9 which didn't have the custom expanders. Richard, you added these expanders. Any ideas on how to implement them properly and better than the fallback? Or should we just delete them?