This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/43987] [4.5/4.6 Regression] type-punning causes broken binaries unless -O0 is used
- From: "thomas at archlinux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2010 14:10:47 -0000
- Subject: [Bug middle-end/43987] [4.5/4.6 Regression] type-punning causes broken binaries unless -O0 is used
- References: <bug-43987-19130@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from thomas at archlinux dot org 2010-05-05 14:10 -------
> I have a patch. Workaround for 4.5.0: -fno-pta.
There is no -fno-pta option in 4.5.0, but I can confirm that -fno-tree-pta
fixes the problem in the testcase and in busybox.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43987