[Bug target/93808] [9 Regression] [SH] Ruby crashes with 'Illegal Instruction' with -fcrossjumping

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 21 07:33:00 GMT 2020


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

--- Comment #20 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #19)
>     t = (const uintptr_t *)(e - (4 -1));
> 
> is problemantic though.  e is not known to be aligned to uintptr_t.

That's right.  But it makes me wonder, why this has been discovered only on SH
with, seemingly caused by fcross-jumping optimization option.  There are other
more popular strict-alignment targets like ARM ... something is smelly, I
think.


More information about the Gcc-bugs mailing list