This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38562] [4.3/4.4 regression] mysql miscompiles and causes testsuite failures
- From: "kees at outflux dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Dec 2008 01:01:55 -0000
- Subject: [Bug c++/38562] [4.3/4.4 regression] mysql miscompiles and causes testsuite failures
- References: <bug-38562-16064@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from kees at outflux dot net 2008-12-22 01:01 -------
Yes! Adding "-fno-strict-aliasing" to a normal (-O2) build seems to have fixed
the problems so far. The full test suite takes a while, but the early failures
are not present any more. I will report more once it finishes. Thank you for
the hint!
Is this a regression in gcc, or is this something upstreams need to add to
their builds when doing the char/pointer manipulations you described?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38562