public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97633] New: ICE at -O3: verify_gimple failed
@ 2020-10-29 20:27 su at cs dot ucdavis.edu
  2020-10-30  8:27 ` [Bug tree-optimization/97633] [11 Regression] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: su at cs dot ucdavis.edu @ 2020-10-29 20:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97633
           Summary: ICE at -O3: verify_gimple failed
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: su at cs dot ucdavis.edu
  Target Milestone: ---

[508] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
COLLECT_LTO_WRAPPER=/local/suz-local/software/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-trunk/configure --disable-bootstrap
--prefix=/local/suz-local/software/local/gcc-trunk --enable-languages=c,c++
--disable-werror --enable-multilib --with-system-zlib
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.0.0 20201029 (experimental) [master revision
e1344fe7b6a:a1208522e1a:79991e2348a864ace6ea2bf108a7502862f1129f] (GCC) 
[509] % 
[509] % gcctk -O2 -c small.c
[510] % 
[510] % gcctk -O3 -c small.c
small.c: In function ‘g’:
small.c:11:6: error: missing ‘PHI’ def
   11 | void g () {
      |      ^
vect_j_11.9_7 = PHI <(10), _8(3)>
during GIMPLE pass: slp
small.c:11:6: internal compiler error: verify_gimple failed
0xd4c3b5 verify_gimple_in_cfg(function*, bool)
        ../../gcc-trunk/gcc/tree-cfg.c:5461
0xbfb79e execute_function_todo
        ../../gcc-trunk/gcc/passes.c:1992
0xbfc682 execute_todo
        ../../gcc-trunk/gcc/passes.c:2046
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.
[511] % 
[511] % cat small.c
extern short i (void);

struct {
  short a;
  short b;
} c;

int d, e;
static int f = 1;

void g () {
  if (e) {
    if (f)
      goto L;
    while (d) {
      i ();
      short j = d, k = i (), l = k;
    L:
      if (!(d && e) || l)
        goto L;
      c.a = j;
      c.b = k;
    }
  }
}

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

* [Bug tree-optimization/97633] [11 Regression] ICE at -O3: verify_gimple failed
  2020-10-29 20:27 [Bug tree-optimization/97633] New: ICE at -O3: verify_gimple failed su at cs dot ucdavis.edu
@ 2020-10-30  8:27 ` rguenth at gcc dot gnu.org
  2020-10-30  8:34 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-30  8:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
           Priority|P3                          |P1
            Summary|ICE at -O3: verify_gimple   |[11 Regression] ICE at -O3:
                   |failed                      |verify_gimple failed
   Target Milestone|---                         |11.0
   Last reconfirmed|                            |2020-10-30

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.

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

* [Bug tree-optimization/97633] [11 Regression] ICE at -O3: verify_gimple failed
  2020-10-29 20:27 [Bug tree-optimization/97633] New: ICE at -O3: verify_gimple failed su at cs dot ucdavis.edu
  2020-10-30  8:27 ` [Bug tree-optimization/97633] [11 Regression] " rguenth at gcc dot gnu.org
@ 2020-10-30  8:34 ` jakub at gcc dot gnu.org
  2020-10-30  8:59 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-10-30  8:34 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r11-4428-g4a369d199bf2f34e037030b18d0da923e8a24997

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

* [Bug tree-optimization/97633] [11 Regression] ICE at -O3: verify_gimple failed
  2020-10-29 20:27 [Bug tree-optimization/97633] New: ICE at -O3: verify_gimple failed su at cs dot ucdavis.edu
  2020-10-30  8:27 ` [Bug tree-optimization/97633] [11 Regression] " rguenth at gcc dot gnu.org
  2020-10-30  8:34 ` jakub at gcc dot gnu.org
@ 2020-10-30  8:59 ` rguenth at gcc dot gnu.org
  2020-10-30  9:46 ` cvs-commit at gcc dot gnu.org
  2020-10-30  9:46 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-30  8:59 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcb314 at hotmail dot com

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 97636 has been marked as a duplicate of this bug. ***

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

* [Bug tree-optimization/97633] [11 Regression] ICE at -O3: verify_gimple failed
  2020-10-29 20:27 [Bug tree-optimization/97633] New: ICE at -O3: verify_gimple failed su at cs dot ucdavis.edu
                   ` (2 preceding siblings ...)
  2020-10-30  8:59 ` rguenth at gcc dot gnu.org
@ 2020-10-30  9:46 ` cvs-commit at gcc dot gnu.org
  2020-10-30  9:46 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-10-30  9:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:c0bfd9672e19caf08e45afeb4277f848488ced2b

commit r11-4564-gc0bfd9672e19caf08e45afeb4277f848488ced2b
Author: Richard Biener <rguenther@suse.de>
Date:   Fri Oct 30 09:57:02 2020 +0100

    tree-optimization/97633 - fix SLP scheduling of single-node cycles

    This makes sure to update backedges in single-node cycles.

    2020-10-30  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/97633
            * tree-vect-slp.c (): Update backedges in single-node cycles.
            Optimize processing of externals.

            * g++.dg/vect/slp-pr97636.cc: New testcase.
            * gcc.dg/vect/bb-slp-pr97633.c: Likewise.

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

* [Bug tree-optimization/97633] [11 Regression] ICE at -O3: verify_gimple failed
  2020-10-29 20:27 [Bug tree-optimization/97633] New: ICE at -O3: verify_gimple failed su at cs dot ucdavis.edu
                   ` (3 preceding siblings ...)
  2020-10-30  9:46 ` cvs-commit at gcc dot gnu.org
@ 2020-10-30  9:46 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-30  9:46 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2020-10-30  9:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-29 20:27 [Bug tree-optimization/97633] New: ICE at -O3: verify_gimple failed su at cs dot ucdavis.edu
2020-10-30  8:27 ` [Bug tree-optimization/97633] [11 Regression] " rguenth at gcc dot gnu.org
2020-10-30  8:34 ` jakub at gcc dot gnu.org
2020-10-30  8:59 ` rguenth at gcc dot gnu.org
2020-10-30  9:46 ` cvs-commit at gcc dot gnu.org
2020-10-30  9:46 ` 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).