[Bug target/85026] [7 Regression] Error: branch out of range on arm-linux-gnueabihf
ktkachov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 22 09:44:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85026
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-03-22
CC| |ktkachov at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from ktkachov at gcc dot gnu.org ---
Confirmed. Looks like a bug in in the length calculation of some insns to me.
Compiling with -dp shows that GCC thinks insns like
ldrsh r2, [r4] @ unaligned @ 168 unaligned_loadhis/1 [length
= 2]
have length 2 when in fact only register offset LDRSH can have length 2. So we
underestimate them and cause this error
More information about the Gcc-bugs
mailing list