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

            Bug ID: 97326
           Summary: [11 Regression] s390: ICE in do_store_flag after
                    10843f830350
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: iii at linux dot ibm.com
  Target Milestone: ---

The following (minimized from
gcc/testsuite/gcc.target/s390/zvector/autovec-double-signaling-eq.c) produces
an ICE on s390:

build$ cat x.c
long *a;
double *b;
c;
d() {
  for (; c; c++)
    a[c] = 0 <= b[c] && 0 >= b[c];
}

build$ gcc/cc1 -O3 -march=z15 x.c
during RTL pass: expand

x.c: In function 'd':
x.c:4:1: internal compiler error: in do_store_flag, at expr.c:12388
0x150dd15 do_store_flag
        ../../gcc/expr.c:12388
0x1505e1b expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../gcc/expr.c:9621
0x14ec50d expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc/expr.c:10165
0x14ef981 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**, bool)
        ../../gcc/expr.c:8480
0x1635191 expand_normal
        ../../gcc/expr.h:288
0x1635191 expand_vect_cond_optab_fn
        ../../gcc/internal-fn.c:2602
0x136d83d expand_call_stmt
        ../../gcc/cfgexpand.c:2612
0x136d83d expand_gimple_stmt_1
        ../../gcc/cfgexpand.c:3686
0x136d83d expand_gimple_stmt
        ../../gcc/cfgexpand.c:3851
0x1374f4b expand_gimple_basic_block
        ../../gcc/cfgexpand.c:5892
0x1377963 execute
        ../../gcc/cfgexpand.c:6576



Bisect points to:

commit 10843f8303509fcba880c6c05c08e4b4ccd24f36
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Sep 24 10:14:33 2020 +0200

    tree-optimization/97085 - fold some trivial bool vector ?:

Reply via email to