2006-11-12  Jason Merrill  <[EMAIL PROTECTED]>
            Andrew Pinski <[EMAIL PROTECTED]>

        Backport form mainline:
        PR middle-end/28915
        * gcc.target/i386/vectorize1.c: New.

This testcase ICEs on the 4.2 branch.

internal compiler error: in fold_convert, at fold-const.c:2100

#1  0x0822121a in fold_convert (type=0xb7c3f78c, arg=0xb7c788a0)
    at /home/richard/src/gcc-4_2-branch/gcc/fold-const.c:2100
2100          gcc_assert (tree_int_cst_equal (TYPE_SIZE (type), TYPE_SIZE
(orig)));
(gdb) call debug_generic_expr (type)
vector intD.0
(gdb) call debug_generic_expr (arg)
&lanipD.1690

#2  0x081fc05f in make_tree (type=0xb7c3f78c, x=0xb7c76950)
    at /home/richard/src/gcc-4_2-branch/gcc/expmed.c:5053
...
#6  0x0841ca97 in force_const_mem (mode=V4SImode, x=0xb7c419a8)
    at /home/richard/src/gcc-4_2-branch/gcc/varasm.c:3229
#7  0x08203912 in emit_move_insn (x=0xb7c768e0, y=0xb7c419a8)
    at /home/richard/src/gcc-4_2-branch/gcc/expr.c:3288
#8  0x0847af6f in ix86_expand_vector_init (mmx_ok=0 '\0', target=0xb7c768e0,
    vals=0xb7c419a0)
    at /home/richard/src/gcc-4_2-branch/gcc/config/i386/i386.c:18428


-- 
           Summary: gcc.target/i386/vectorize1.c ICEs
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: i?86-*-*
 BugsThisDependsOn: 28915


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

Reply via email to