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/42830] Inlining changes semantics when strict aliasing optimization is enabled



------- Comment #5 from pinskia at gcc dot gnu dot org  2010-01-21 20:56 -------
>Just to be clear, what aspect of the test case is undefined?

The access of the integer variable via an union.  That is the whole point of
strict aliasing :).


-- 


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


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