I see the following failure while compiling vect-64.con power:

unrecognizable insn:
(insn 129 337 130 5
/home/razya/mainline_r131741/gcc/gcc/testsuite/gcc.dg/vect/vect-64.c:23
(parallel [
            (set (reg:V4SI 241 [ vect_cst_.61 ])
                (reg:V4SI 315))
            (unspec [
                    (const_int 0 [0x0])
                ] 196)
        ]) -1 (nil))


The dump file  vect-64.c.136r.unshare
still shows a the correct insn:

(insn 129 128 130 5
/home/razya/mainline_r131741/gcc/gcc/testsuite/gcc.dg/vect/vect-64.c:23
(parallel [
            (set (reg:V4SI 241 [ vect_cst_.61 ])
                (mem/c/i:V4SI (plus:SI (reg/f:SI 115 virtual-stack-vars)
                        (const_int 60696 [0xed18])) [6 S16 A128]))
            (unspec [
                    (const_int 0 [0x0])
                ] 196)
        ]) -1 (nil))


but then it gets messed somehow, and the expected memory reference is replaced
by a register.
I've also located the revision where this failure started, r131741:

------------------------------------------------------------------------
r131741 | dje | 2008-01-22 23:12:05 +0200 (Tue, 22 Jan 2008) | 4 lines

        PR target/34529
        * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
        Offset addresses are not valid for Altivec or paired float modes.


-- 
           Summary: vect-64.c failing on power
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: razya at il dot ibm dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35120

Reply via email to