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]

[Bug c/42907] -fstrict-aliasing breaks valid code



------- Comment #14 from rguenth at gcc dot gnu dot org  2010-01-30 22:00 -------
(In reply to comment #12)
> I'm not asking for gcc to be a DWIM compiler, I'm asking for it to do EXACTLY
> what I've told it to do.

You told it to use C type-based aliasing rules to optimize.  And exactly this
is what it is doing.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42907


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