https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614
ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmakarov at redhat dot com --- Comment #11 from ktkachov at gcc dot gnu.org --- I think this is a regalloc bug. I tried reducing the number of RTL passes needed to trigger this and I can disable pretty much every disable-able post-reload pass and still trigger this. So the bug still triggers with: -Os -fno-expensive-optimizations -fschedule-insns -mtpcs-leaf-frame -fira-algorithm=priority -march=armv7-a -mfloat-abi=hard -marm -mfpu=vfpv4 -mtune=cortex-a8 -fno-schedule-insns2 -fno-cprop-registers -fno-if-conversion2 -fno-dse -fno-reorder-blocks -fno-reorder-blocks-and-partition -fno-auto-inc-dec -fno-if-conversion Disabling various pre-reload passes leads to changes in register pressure that end up affecting IRA/LRA and end up masking the bug