This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/55559] Marshalling double through union with inlines, incorrect behavior with -O2
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 02 Dec 2012 16:04:49 +0000
- Subject: [Bug tree-optimization/55559] Marshalling double through union with inlines, incorrect behavior with -O2
- Auto-submitted: auto-generated
- References: <bug-55559-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55559
--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> 2012-12-02 16:04:49 UTC ---
Created attachment 28853
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28853
simplified test case in plain C
The regression started with Richard Biener's "[PATCH] Teach SCCVN/FRE
expression insertion, optimize type-punning through unions (final!)" patch in
r133218:
http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00873.html
http://gcc.gnu.org/ml/gcc-cvs/2008-03/msg00436.html