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: optimization/4570: error reading bytes from double variable

[Get raw message]
Synopsis: error reading bytes from double variable

State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Sun Nov 25 08:45:58 2001
State-Changed-Why:
    Not a bug.  GCC is allowed by the aliasing rules in the C Standard to assume an int* can't possibly point to the same memory as e, that has type double.  If you depend on this behavior, use -fno-strict-aliasing, or access the storage using pointers to char, that can alias anything.

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


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