https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63594

            Bug ID: 63594
           Summary: [5 Regression] ICE: in ix86_vector_duplicate_value, at
                    config/i386/i386.c:39831 with -mavx512f
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 33758
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33758&action=edit
reduced testcase

Compiler output:
$ gcc -mavx512f testcase.c
testcase.c: In function 'foo_1':
testcase.c:6:11: internal compiler error: in ix86_vector_duplicate_value, at
config/i386/i386.c:39831
   __v64qi v1 = {
           ^
0xe76c32 ix86_vector_duplicate_value
        /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:39831
0xe82543 ix86_expand_vector_init_duplicate
        /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:39956
0xec2823 ix86_expand_vector_init(bool, rtx_def*, rtx_def*)
        /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:40739
0x100628d gen_vec_initv64qi(rtx_def*, rtx_def*)
        /mnt/svn/gcc-trunk/gcc/config/i386/sse.md:17488
0x8bcfe6 insn_gen_fn::operator()(rtx_def*, rtx_def*) const
        /mnt/svn/gcc-trunk/gcc/recog.h:308
0x8bcfe6 store_constructor
        /mnt/svn/gcc-trunk/gcc/expr.c:6456
0x8bebc6 expand_constructor
        /mnt/svn/gcc-trunk/gcc/expr.c:7873
0x8a3b0a expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /mnt/svn/gcc-trunk/gcc/expr.c:9711
0x8b2e83 store_expr(tree_node*, rtx_def*, int, bool)
        /mnt/svn/gcc-trunk/gcc/expr.c:5341
0x8ba2da expand_assignment(tree_node*, tree_node*, bool)
        /mnt/svn/gcc-trunk/gcc/expr.c:5127
0x7a14d8 expand_gimple_stmt_1
        /mnt/svn/gcc-trunk/gcc/cfgexpand.c:3278
0x7a14d8 expand_gimple_stmt
        /mnt/svn/gcc-trunk/gcc/cfgexpand.c:3374
0x7a6a56 expand_gimple_basic_block
        /mnt/svn/gcc-trunk/gcc/cfgexpand.c:5209
0x7a8b06 execute
        /mnt/svn/gcc-trunk/gcc/cfgexpand.c:5815
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r216429 - ICE
4_9 r213788 - OK

Reply via email to