Bug 12922 - MIPS gcc.c-torture/compile/20001226-1.c times out...
Summary: MIPS gcc.c-torture/compile/20001226-1.c times out...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 3.4.0
: P2 normal
Target Milestone: 3.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-05 23:44 UTC by David Daney
Modified: 2004-02-28 17:19 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2003-11-26 16:23:58


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Daney 2003-11-05 23:44:47 UTC
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
.
.
.
Comment 1 Eric Christopher 2003-11-05 23:47:19 UTC
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.
Comment 2 Chris Demetriou 2003-11-06 07:21:54 UTC
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.)

Comment 3 Eric Botcazou 2003-11-06 07:44:36 UTC
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.
Comment 4 Eric Christopher 2003-11-06 09:46:39 UTC
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

Comment 5 David Daney 2004-02-18 00:51:16 UTC
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.