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

--- Comment #175 from Kazumoto Kojima <kkojima at gcc dot gnu.org> ---
(In reply to John Paul Adrian Glaubitz from comment #172)
> ../../../src/libgcc/libgcc2.c:538:1: internal compiler error: Illegal
> instruction
> root@tirpitz:..sh4-linux-gnu/libgcc>
> 
> Could this be just an issue of the compiler generating invalid code?

I assume.  A wrong code can make a bad register value which will be used as an
instruction address.  If that address is in a data object, for example, it can
cause an illegal instruction error.

Reply via email to