This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/42830] Inlining changes semantics when strict aliasing optimization is enabled
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2010 20:56:24 -0000
- Subject: [Bug c/42830] Inlining changes semantics when strict aliasing optimization is enabled
- References: <bug-42830-9975@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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