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

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).