This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [ARM optimization back-end] Strange bug in MySQL
On Thu, Apr 26, 2007 at 03:28:26PM +0200, Emmanuel Fleury wrote:
> But if the bug disappear when -O2 is turned off, I do suspect
> (*eventually*) some problem in the ARM back-end... Am I right ?
Probably/maybe/possibly. It also could be the case that MySQL is doing
something that invokes undefined behavior (aliasing or alignment bugs,
for example) that just happens to work OK with the optimizer disabled,
and then the optimize performs a legal transformation that causes the
code to fail.
-Jack