------- Comment #3 from dominiq at lps dot ens dot fr 2009-06-16 09:46 ------- With the patch in comment #2 I get:
=== libffi tests === Schedule of variations: unix unix/-m64 Running target unix Using /sw/share/dejagnu/baseboards/unix.exp as board description file for target. Using /sw/share/dejagnu/config/unix.exp as generic interface file for target. Using /opt/gcc/gcc-4.5-work/libffi/testsuite/config/default.exp as tool-and-target-specific interface file. Running /opt/gcc/gcc-4.5-work/libffi/testsuite/libffi.call/call.exp ... Running /opt/gcc/gcc-4.5-work/libffi/testsuite/libffi.special/special.exp ... === libffi Summary for unix === # of expected passes 1594 # of expected failures 10 # of unsupported tests 15 Running target unix/-m64 Using /sw/share/dejagnu/baseboards/unix.exp as board description file for target. Using /sw/share/dejagnu/config/unix.exp as generic interface file for target. Using /opt/gcc/gcc-4.5-work/libffi/testsuite/config/default.exp as tool-and-target-specific interface file. Running /opt/gcc/gcc-4.5-work/libffi/testsuite/libffi.call/call.exp ... FAIL: libffi.call/cls_dbls_struct.c -O0 -W -Wall output pattern test, is 1.0 0.0 1.0 2.0 ? should match 1.0 2.0 ?.0 2.0 FAIL: libffi.call/cls_dbls_struct.c -O2 output pattern test, is 1.0 0.0 1.0 2.0 ? should match 1.0 2.0 ?.0 2.0 FAIL: libffi.call/cls_dbls_struct.c -O3 output pattern test, is 1.0 0.0 1.0 2.0 ? should match 1.0 2.0 ?.0 2.0 FAIL: libffi.call/cls_dbls_struct.c -Os output pattern test, is 1.0 0.0 1.0 2.0 ? should match 1.0 2.0 ?.0 2.0 FAIL: libffi.call/cls_dbls_struct.c -O2 -fomit-frame-pointer output pattern test, is 1.0 0.0 1.0 2.0 ? should match 1.0 2.0 ?.0 2.0 Running /opt/gcc/gcc-4.5-work/libffi/testsuite/libffi.special/special.exp ... === libffi Summary for unix/-m64 === # of expected passes 1589 # of unexpected failures 5 # of expected failures 10 # of unsupported tests 15 === libffi Summary === # of expected passes 3183 # of unexpected failures 5 # of expected failures 20 # of unsupported tests 30 Thanks for the patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40444