Building mysql 5.0.67 with gcc 4.2 and 4.3.2 produce okay results. Building on 4.3.3 20081210 (prerelease) and 4.4.0 20081212 (experimental) [trunk revision 142725] causes problems. Compiling with -O1 (instead of the default -O2) fixes the issue. At least one of the failures was reduced to sql/log_event.cc. Attaching log_event.cc and -O2 log_event.o from 4.3.2 and 4.4.0 20081212, and -O1 from 4.4.0 20081212 for now, until I can further isolate the problem.
-- Summary: mysql miscompiles and causes testsuite failures Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kees at outflux dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38562