This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
State-Changed-Why:
    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.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7334


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]