public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97559] New: ICE at -O1 and above on x86_64-pc-linux-gnu: verify_ssa failed
@ 2020-10-24  8:07 su at cs dot ucdavis.edu
  2020-10-26  7:56 ` [Bug tree-optimization/97559] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: su at cs dot ucdavis.edu @ 2020-10-24  8:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97559
           Summary: ICE at -O1 and above on x86_64-pc-linux-gnu:
                    verify_ssa 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: ---

[566] % 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 20201024 (experimental) [master revision
d0e2ffcca0e:78f21910dde:a29ff9c53a77b6e208350d8c6db0f3e988f61d1f] (GCC) 
[567] % 
[567] % gcctk -O0 -c small.c
[568] % 
[568] % gcctk -O1 -c small.c
small.c: In function ‘e’:
small.c:5:6: error: stmt with wrong VUSE
    5 | void e () {
      |      ^
# VUSE <.MEM_8(D)>
f_9 = a;
expected .MEM_5
during GIMPLE pass: sink
small.c:5:6: internal compiler error: verify_ssa failed
0xf6887b verify_ssa(bool, bool)
        ../../gcc-trunk/gcc/tree-ssa.c:1208
0xbf6e07 execute_function_todo
        ../../gcc-trunk/gcc/passes.c:1999
0xbf7bb2 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.
[569] % 
[569] % cat small.c
int printf (char *, ...);

int a, b, c, d;

void e () {
  int f = a;
  if (b) {
  L1:
    b = 0;
  L2:
    if (c) {
      if (f)
        printf("0");
      goto L1;
    }
  }
  if (d)
    goto L2;
}

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

end of thread, other threads:[~2020-12-08  9:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-24  8:07 [Bug tree-optimization/97559] New: ICE at -O1 and above on x86_64-pc-linux-gnu: verify_ssa failed su at cs dot ucdavis.edu
2020-10-26  7:56 ` [Bug tree-optimization/97559] " rguenth at gcc dot gnu.org
2020-10-26  8:27 ` rguenth at gcc dot gnu.org
2020-10-26 10:05 ` marxin at gcc dot gnu.org
2020-10-26 10:32 ` [Bug tree-optimization/97559] [11 Regression] " jakub at gcc dot gnu.org
2020-11-03 21:09 ` zhendong.su at inf dot ethz.ch
2020-12-08  9:36 ` cvs-commit at gcc dot gnu.org
2020-12-08  9:37 ` 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).