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

--- Comment #18 from Uroš Bizjak <ubizjak at gmail dot com> ---
And finally, it looks that expand_vector_operations doesn't call init_emit ().

Backtrace:

Breakpoint 1, gen_reg_rtx (mode=V4SImode) at
../../gcc-svn/branches/gcc-4_8-branch/gcc/emit-rtl.c:864
864       unsigned int align = GET_MODE_ALIGNMENT (mode);
(gdb) bt
#0  gen_reg_rtx (mode=V4SImode) at
../../gcc-svn/branches/gcc-4_8-branch/gcc/emit-rtl.c:864
#1  0x000000000098aa82 in expand_vec_perm_interleave2 (d=0x7fffffffc110) at
../../gcc-svn/branches/gcc-4_8-branch/gcc/config/i386/i386.c:39408
#2  0x000000000098b2d0 in ix86_expand_vec_perm_const_1 (d=0x7fffffffc110) at
../../gcc-svn/branches/gcc-4_8-branch/gcc/config/i386/i386.c:40464
#3  0x000000000098b847 in ix86_vectorize_vec_perm_const_ok (vmode=<optimized
out>, sel=<optimized out>)
    at ../../gcc-svn/branches/gcc-4_8-branch/gcc/config/i386/i386.c:40670
#4  0x000000000072cac2 in can_vec_perm_p (mode=V4SImode, variable=false,
sel=0x7fffffffc1b0 "\004")
    at ../../gcc-svn/branches/gcc-4_8-branch/gcc/optabs.c:6492
#5  0x00000000008ed774 in lower_vec_perm(struct {...} *) (gsi=0x7fffffffc280)
    at ../../gcc-svn/branches/gcc-4_8-branch/gcc/tree-vect-generic.c:1207
#6  0x00000000008f0d39 in expand_vector_operations () at
../../gcc-svn/branches/gcc-4_8-branch/gcc/tree-vect-generic.c:1489

where

p x_rtl.emit.regno_pointer_align_length
$2 = 0

Reply via email to