On Tue, May 22, 2007 at 08:45:38PM -0400, Bernardo Innocenti wrote: > FAIL: gcc.c-torture/execute/20050316-2.c execution, -O0 [...] > FAIL: gcc.c-torture/execute/20050604-1.c execution, -O0 [...] > > I analyzed only the first failing test. It seems we fail > with all MMX enabled processors. But maybe the test has > invalid expectations, I'm not sure what it is trying to do.
The last time I looked into it, the reason was use of MMX instructions without (f)emms afterwards. > WORKS: gcc -O0 -march=i686 gcc.c-torture/execute/20050316-2.c && ./a.out > FAILS: gcc -O0 -march=athlon gcc.c-torture/execute/20050316-2.c && ./a,out > > This is with 4.2-branch, but it also happens with FC6's gcc-4.1.1. 4.3 is broken too. See e.g. <URL:http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg00635.html> which has --with-arch=pentium3. -- Rask Ingemann Lambertsen