c/7334: SIGBUS in assignment and in memcpy()

nathan@gcc.gnu.org nathan@gcc.gnu.org
Wed Jul 17 02:51:00 GMT 2002

Synopsis: SIGBUS in assignment and in memcpy()

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Wed Jul 17 02:08:32 2002
    not a bug. The compiler is allowed to presume that an
    int * points to a correctly aligned integer, and therefore
    use the most efficent access for that. sparc requires objects
    to be aligned, and gives a bus-error if they are not.
    you say your implementation of memcpy fails in some
    cases, but do not provide an example of that.


More information about the Gcc-bugs mailing list