https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65251
Oleg Endo <olegendo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkojima at gcc dot gnu.org, | |olegendo at gcc dot gnu.org --- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> --- attachment 34899 doesn't compile on sh-elf out of the box. I had to remove all lines starting with #: sed '/^#/ d' ccw3pP9A.out > ccw3pP9A_1.out Other than that, I wasn't able to reproduce the error with an sh-elf xgcc running on i686. The Bus error could be some buggy misaligned mem access, which is in the native sh4 gcc. This means that probably the compiler that was used to compile the current native sh4 gcc produced buggy code.