[Bug middle-end/34856] [4.3 Regression] ICE with some constant vectors

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 21 14:27:00 GMT 2008



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-01-21 13:54 -------
And for_each_index does not handle CONSTRUCTOR.  Then, we ICE in 
copy_reference_ops_from_ref, at tree-ssa-sccvn.c:574
because that obviously also does not handle CONSTRUCTOR either.

_Then_, at -O2, we ICE in simplify_immed_subreg (x86_64 -m32 -msse)

#1  0x000000000085ed6b in simplify_immed_subreg (outermode=V16QImode, 
    op=0x2ae82bd7b6b0, innermode=V4SImode, byte=0)
    at /space/rguenther/src/svn/trunk/gcc/simplify-rtx.c:4761
4761              gcc_unreachable ();
(gdb) call debug_rtx (op)
(const_vector:V4SI [
        (const:SI (plus:SI (symbol_ref:SI ("g") [flags 0x40] <var_decl
0x2ae82c6450a0 g>)
                (const_int 32 [0x20])))
        (const_int 0 [0x0])
        (const_int 0 [0x0])
        (const_int 0 [0x0])
    ])

as we don't handle a const:SI wrapped first vector element.  I'm going to
"fix" the non-rtl cases.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-01-18 20:44:51         |2008-01-21 13:54:34
               date|                            |


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



More information about the Gcc-bugs mailing list