public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97579] New: [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156
@ 2020-10-26 11:44 marxin at gcc dot gnu.org
  2020-10-26 11:44 ` [Bug tree-optimization/97579] " marxin at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-10-26 11:44 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97579
           Summary: [11 Regression] ICE in gimple_expand_vec_cond_expr, at
                    gimple-isel.cc:201 since r11-4123-g128f43cf679e5156
           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: marxin at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

The issue was probably latent:

$ cat meteor.c
int bad_odd_rows_0_0, rows_bad_row1, rows_bad_group_okay, calc_rows_row2;

int
rows_bad() {
  int i, in_zeroes;
  char block;
  i = 0;
  for (; i < 5; i++)
    if (rows_bad_row1 & i)
      in_zeroes = 0;
    else {
      if (!in_zeroes)
        in_zeroes = 1;
      if (block & 1)
        rows_bad_group_okay = 1;
    }
  if (in_zeroes)
    return rows_bad_group_okay;
}

void
calc_rows() {
  for (; calc_rows_row2; calc_rows_row2++) {
    rows_bad();
    bad_odd_rows_0_0 = rows_bad();
  }
}

$ gcc meteor.c --param=max-unswitch-insns=1024 -O3 -mavx512vl -c
during GIMPLE pass: isel
meteor.c: In function ‘calc_rows’:
meteor.c:22:1: internal compiler error: in gimple_expand_vec_cond_expr, at
gimple-isel.cc:201
   22 | calc_rows() {
      | ^~~~~~~~~
0x72d8f5 gimple_expand_vec_cond_expr
        /home/marxin/Programming/gcc/gcc/gimple-isel.cc:201
0xff19d0 gimple_expand_vec_exprs
        /home/marxin/Programming/gcc/gcc/gimple-isel.cc:247
0xff19d0 execute
        /home/marxin/Programming/gcc/gcc/gimple-isel.cc:300
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

The problematic statement is:

(gdb) p debug_gimple_stmt(stmt)
mask__581.198_1001 = VEC_COND_EXPR <mask__258.180_254, { 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0 }, mask__649.184_117>;

(gdb) p mode
$3 = E_HImode
(gdb) p cmp_op_mode
$4 = E_V16SImode

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-11-30  7:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-26 11:44 [Bug tree-optimization/97579] New: [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156 marxin at gcc dot gnu.org
2020-10-26 11:44 ` [Bug tree-optimization/97579] " marxin at gcc dot gnu.org
2020-10-26 12:32 ` rguenth at gcc dot gnu.org
2020-10-27 16:09 ` marxin at gcc dot gnu.org
2020-10-28  7:27 ` rguenther at suse dot de
2020-10-29 13:21 ` marxin at gcc dot gnu.org
2020-11-03 15:23 ` cvs-commit at gcc dot gnu.org
2020-11-18 14:27 ` jakub at gcc dot gnu.org
2020-11-18 14:30 ` jakub at gcc dot gnu.org
2020-11-19  7:21 ` rguenth at gcc dot gnu.org
2020-11-25 11:32 ` rguenth at gcc dot gnu.org
2020-11-25 14:01 ` cvs-commit at gcc dot gnu.org
2020-11-25 14:02 ` rguenth at gcc dot gnu.org
2020-11-30  7:35 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).