[Bug tree-optimization/97239] New: [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201

asolokha at gmx dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 29 10:46:14 GMT 2020


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

            Bug ID: 97239
           Summary: [11 Regression] ICE in gimple_expand_vec_cond_expr, at
                    gimple-isel.cc:201
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: x86_64-pc-linux-gnu

gcc-11.0.0-alpha20200927 snapshot (g:e24817aa7a1c6d12039b486ab5ea9b5ee0a46cd4)
ICEs when compiling the following testcase w/ -O1:

int __attribute__ ((simd))
br (int cr)
{
  return -!!cr == !cr ? cr : 0;
}

% x86_64-pc-linux-gnu-gcc-11.0.0 -O1 -c gfa49kep.c
during GIMPLE pass: isel
gfa49kep.c: In function 'br.simdclone.7':
gfa49kep.c:2:1: internal compiler error: in gimple_expand_vec_cond_expr, at
gimple-isel.cc:201
    2 | br (int cr)
      | ^~
0x70479d gimple_expand_vec_cond_expr
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gcc/gimple-isel.cc:201
0xfecf68 gimple_expand_vec_exprs
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gcc/gimple-isel.cc:247
0xfecf68 execute
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gcc/gimple-isel.cc:300


More information about the Gcc-bugs mailing list