public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/98015] New: [11 regression] ICE in gimple_expand_vec_cond_expr since g:fddc7f0080f1f056c4d145451608ebd3e807422a
@ 2020-11-26 12:19 clyon at gcc dot gnu.org
  2020-11-26 13:10 ` [Bug tree-optimization/98015] " rguenth at gcc dot gnu.org
  2020-11-26 15:18 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: clyon at gcc dot gnu.org @ 2020-11-26 12:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98015
           Summary: [11 regression] ICE in gimple_expand_vec_cond_expr
                    since g:fddc7f0080f1f056c4d145451608ebd3e807422a
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

Since commit g:fddc7f0080f1f056c4d145451608ebd3e807422a, I have noticed ICEs on
aarch64:

  Executed from: gcc.dg/dg.exp
    gcc.dg/pr96466.c (internal compiler error)
  Executed from: gcc.target/aarch64/advsimd-intrinsics/advsimd-intrinsics.exp
    gcc.target/aarch64/advsimd-intrinsics/p64_p128.c   -O0  (internal compiler
error)
    gcc.target/aarch64/advsimd-intrinsics/p64_p128.c   -O1  (internal compiler
error)
    gcc.target/aarch64/advsimd-intrinsics/p64_p128.c   -O2  (internal compiler
error)
    gcc.target/aarch64/advsimd-intrinsics/p64_p128.c   -O2 -flto
-fno-use-linker-plugin -flto-partition=none  (internal compiler error)
    gcc.target/aarch64/advsimd-intrinsics/p64_p128.c   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  (internal compiler
error)
    gcc.target/aarch64/advsimd-intrinsics/p64_p128.c   -O3 -g  (internal
compiler error)
    gcc.target/aarch64/advsimd-intrinsics/p64_p128.c   -Og -g  (internal
compiler error)
    gcc.target/aarch64/advsimd-intrinsics/p64_p128.c   -Os  (internal compiler
error)
  Executed from: gcc.target/aarch64/aarch64.exp
    gcc.target/aarch64/pr65235_1.c (internal compiler error)
  Executed from: gcc.target/aarch64/simd/simd.exp
    gcc.target/aarch64/simd/int_comparisons_1.c (internal compiler error)
    gcc.target/aarch64/simd/int_comparisons_2.c (internal compiler error)
    gcc.target/aarch64/simd/vceq_poly_1.c (internal compiler error)
  Executed from: gcc.target/aarch64/aarch64.exp
    gcc.target/aarch64/singleton_intrinsics_1.c (internal compiler error)


The log says:
FAIL: gcc.dg/pr96466.c (internal compiler error)
FAIL: gcc.dg/pr96466.c (test for excess errors)
Excess errors:
during GIMPLE pass: isel
/gcc/testsuite/gcc.dg/pr96466.c:9:1: internal compiler error: in
gimple_expand_vec_cond_expr, at gimple-isel.cc:145
0x106322c gimple_expand_vec_cond_expr
        /gcc/gimple-isel.cc:144
0x106456b gimple_expand_vec_exprs
        /gcc/gimple-isel.cc:267
0x106456b execute
        /gcc/gimple-isel.cc:318

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

* [Bug tree-optimization/98015] [11 regression] ICE in gimple_expand_vec_cond_expr since g:fddc7f0080f1f056c4d145451608ebd3e807422a
  2020-11-26 12:19 [Bug tree-optimization/98015] New: [11 regression] ICE in gimple_expand_vec_cond_expr since g:fddc7f0080f1f056c4d145451608ebd3e807422a clyon at gcc dot gnu.org
@ 2020-11-26 13:10 ` rguenth at gcc dot gnu.org
  2020-11-26 15:18 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-11-26 13:10 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED
   Target Milestone|---                         |11.0
   Last reconfirmed|                            |2020-11-26
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  It's a generic vector.  Not sure what ISEL does with those and/or
why they were not lowered by tree-vect-generic.c.

 _2117 = VEC_COND_EXPR <_2116, { -1 }, { 0 }>;

I have a simple patch.

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

* [Bug tree-optimization/98015] [11 regression] ICE in gimple_expand_vec_cond_expr since g:fddc7f0080f1f056c4d145451608ebd3e807422a
  2020-11-26 12:19 [Bug tree-optimization/98015] New: [11 regression] ICE in gimple_expand_vec_cond_expr since g:fddc7f0080f1f056c4d145451608ebd3e807422a clyon at gcc dot gnu.org
  2020-11-26 13:10 ` [Bug tree-optimization/98015] " rguenth at gcc dot gnu.org
@ 2020-11-26 15:18 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-11-26 15:18 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
commit 5c197b83e12b634b65a449d8a7375a18f350708e
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Nov 26 16:11:43 2020 +0100

    tree-optimization/98015 - fix VEC_COND_EXPR lowering condition

    This fixes the condition to match the comment and only lower
    VECTOR_BOOLEAN_TYPE_P VEC_COND_EXPRs.

    2020-11-26  Richard Biener  <rguenther@suse.de>

            * gimple-isel.cc (gimple_expand_vec_cond_expr): Only
            lower VECTOR_BOOLEAN_TYPE_P VEC_COND_EXPRs.

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

end of thread, other threads:[~2020-11-26 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-26 12:19 [Bug tree-optimization/98015] New: [11 regression] ICE in gimple_expand_vec_cond_expr since g:fddc7f0080f1f056c4d145451608ebd3e807422a clyon at gcc dot gnu.org
2020-11-26 13:10 ` [Bug tree-optimization/98015] " rguenth at gcc dot gnu.org
2020-11-26 15:18 ` 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).