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/7465: Same function produced bad ARM code with C++ but correct one with C


Synopsis: Same function produced bad ARM code with C++ but correct one with C

State-Changed-From-To: open->closed
State-Changed-By: rearnsha
State-Changed-When: Mon Aug  5 06:31:50 2002
State-Changed-Why:
    That this code does not fail for C is luck rather than anything else.
    
    Your code violates the aliasing rules of both languages, see the 
    manual under -fstrict-aliasing for details of how, why and how you
    might avoid the problem.

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


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