public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/7465: Same function produced bad ARM code with C++ but correct one with C
@ 2002-08-05  6:31 rearnsha
  0 siblings, 0 replies; only message in thread
From: rearnsha @ 2002-08-05  6:31 UTC (permalink / raw)
  To: eric.paire, gcc-bugs, gcc-prs, nobody

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-05 13:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-05  6:31 optimization/7465: Same function produced bad ARM code with C++ but correct one with C rearnsha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).