This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/56577] wrong code for aliased union on gcc 4.7 only
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 10 Mar 2013 21:18:19 +0000
- Subject: [Bug tree-optimization/56577] wrong code for aliased union on gcc 4.7 only
- Auto-submitted: auto-generated
- References: <bug-56577-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56577
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-03-10 21:18:19 UTC ---
You cannot use union to avoid aliasing rules for normal accesses.