Bug 48572 - [4.7 regression] gcc.target/mips/mips-{3d,ps}-?.c tests ICE on IRIX 6.5
Summary: [4.7 regression] gcc.target/mips/mips-{3d,ps}-?.c tests ICE on IRIX 6.5
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.7.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-12 13:25 UTC by Rainer Orth
Modified: 2011-07-19 15:00 UTC (History)
1 user (show)

See Also:
Host: mips-sgi-irix6.5
Target: mips-sgi-irix6.5
Build: mips-sgi-irix6.5
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Orth 2011-04-12 13:25:50 UTC
Between 20110322 and 20110401,several mips-3d-?.c and mips-ps-?.c tests started
to fail on IRIX 6.5, e.g.

Downgraded to a 'link' test due to unsupported option '-mips3d'
Downgraded to an 'assemble' test due to incompatible arch option (-march=mips3 changed to -mips64)
Executing on host: /var/gcc/regression/trunk/6.5-gcc/build/gcc/xgcc -B/var/gcc/regression/trunk/6.5-gcc/build/gcc/   -DNOMIPS16=__attribute__((nomips16)) -mips64 -mhard-float -mfp64 -mips3d -O2 -mpaired-single -c  -o mips-3d-1.o /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/mips/mips-3d-1.c    (timeout = 600)
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/mips/mips-3d-1.c: In function 'main':

/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/mips/mips-3d-1.c:127:1: error: unable to find a register to spill in class 'GR_REGS'

/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/mips/mips-3d-1.c:127:1: error: this is the insn:

(insn 26 6 28 2 (set (reg:CCV2 253)

        (unspec:CCV2 [

                (reg/v:V2SF 34 $f2 [orig:197 c ] [197])

                (reg/v:V2SF 35 $f3 [orig:194 d ] [194])

                (const_int 2 [0x2])

            ] UNSPEC_C)) /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/mips/mips-3d-1.c:31 677 {mips_c_cond_ps}

     (expr_list:REG_DEAD (reg/v:V2SF 34 $f2 [orig:197 c ] [197])

        (expr_list:REG_DEAD (reg/v:V2SF 35 $f3 [orig:194 d ] [194])

            (expr_list:REG_EQUAL (unspec:CCV2 [

                        (reg/v:V2SF 34 $f2 [orig:197 c ] [197])

                        (const_vector:V2SF [

                                (const_double:SF 4.6e+1 [0x0.b8p+6])

                                (const_double:SF 1.12e+2 [0x0.ep+7])

                            ])

                        (const_int 2 [0x2])

                    ] UNSPEC_C)

                (nil)))))

/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/mips/mips-3d-1.c:127:1: internal compiler error: in spill_failure, at reload1.c:2113

This is a regression from 4.6.
Comment 1 Rainer Orth 2011-07-19 15:00:32 UTC
Works now.