[Bug target/65251] sh4: internal compiler error: Bus error when compiling cpp-netlib

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 28 18:36:00 GMT 2015


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.



More information about the Gcc-bugs mailing list