configured as: ../gcccvsw/gcc/configure --host=i686-pc-linux-gnu --target=mipsisa32el-linux --enable-languages=c,c++,java --with-headers=/home/mipsel-linux/mipsel-linux/include --prefix=/home/testcvs/ make check results in: . . . Executing on host: /home/daney/mipsel-gcccvs/gcc/xgcc -B/home/daney/mipsel-gcccvs/gcc/ -O3 -g -w -c -o 20001226-1.o /home/daney/gcccvsw/gcc/gcc/testsuite/gcc.c-torture/compile/20001226-1.c (timeout = 300) WARNING: program timed out. compiler exited with status 1 FAIL: gcc.c-torture/compile/20001226-1.c (test for excess errors) Excess errors: exit status is 1 . . .
Yup. Times out. This is because the branch delay slot scheduler is more than a wee bit slow. This can finish on really fast hardware, or at least should. Also, you can run it by hand to verify that it passes.
Subject: Re: MIPS gcc.c-torture/compile/20001226-1.c times out... (for the record, this is in no way new. I've remembered this since i started testing gcc against mips-sim.)
It also times out on low-end x86 hardware, so the branch delay slot scheduler is certainly not the only culprit. On the contrary, it passes for the 3.3 branch (and the 3.2 branch) on the same hardware.
Subject: Re: MIPS gcc.c-torture/compile/20001226-1.c times out... > ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-11-06 07:44 ------- > It also times out on low-end x86 hardware, so the branch delay slot scheduler is > certainly not the only culprit. On the contrary, it passes for the 3.3 branch > (and the 3.2 branch) on the same hardware. Fair enough. I looked into it at one point on mips and it was spending ~75% of it's time in dbr_sched -eric
All gcc.c-torture/compile/20001226-1.c tests now pass for me running on the same host that had the initial failure. $ mipsel-linux-gcc --version mipsel-linux-gcc (GCC) 3.4.0 20040214 (prerelease) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.