https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808
--- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to John Paul Adrian Glaubitz from comment #0) > > Printing the assembly with GDB shows that the IP seems to be pointing at > data instead of code(?): > > (gdb) x/5i $pc > => 0x5380c0 <coderange_scan+720>: .word 0x0000 > 0x5380c2 <coderange_scan+722>: .word 0x0010 Yeah, that looks like data. Something makes it jump to a wrong address. No idea why. Can you try to get a bit bigger code snippet at that point? What's the code/data before and after?