Bug 6362 - mips-irix6 gcc-3.1 C testsuite failure with -mips4 in compile/920501-4.c
Bug#: 6362 Product:  gcc Version: 3.1
Host:  Target:  Build: 
Status: RESOLVED Severity: normal Priority: P3
Resolution: FIXED Assigned To: echristo@apple.com Reported By: ghazi@caip.rutgers.edu
Component: target Target Milestone: ---
Summary: mips-irix6 gcc-3.1 C testsuite failure with -mips4 in compile/920501-4.c
Keywords:  ice-on-valid-code
Opened: 2002-04-18 09:56
Description:   Last confirmed: Opened: 2002-04-18 09:56
When I run the testsuite with -mips4, I get this additional failure:

 > FAIL: gcc.c-torture/compile/920501-4.c,  -O1  

See: http://gcc.gnu.org/ml/gcc-testresults/2002-04/msg00671.html

When I compile it by hand, I get:
 > xgcc -mips4 -c -O 920501-4.c
 > 920501-4.c: In function `foo':
 > 920501-4.c:49: Internal compiler error in gen_reload_outcc, at insn-emit.c:7493

This failure does not occur with e.g. gcc-2.8.1

Release:
3.1 20020417

Environment:
mips-sgi-irix6.2 native as/ld

------- Comment #1 From Kaveh Ghazi 2002-09-29 08:05 -------
Responsible-Changed-From-To: unassigned->echristo
Responsible-Changed-Why: with permission

------- Comment #2 From Kaveh Ghazi 2002-10-02 06:32 -------
State-Changed-From-To: open->closed
State-Changed-Why: Fixed in 3.3 20021001 by:
    http://gcc.gnu.org/ml/gcc-patches/2002-09/msg01492.html