public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/97539] New: error: definition in block 5 does not dominate use in block 24
@ 2020-10-23  7:42 dcb314 at hotmail dot com
  2020-10-23  8:51 ` [Bug tree-optimization/97539] [10/11 Regression] ICE verify_ssa failed since r10-4200-gb7ff7cef5005721e marxin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: dcb314 at hotmail dot com @ 2020-10-23  7:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97539
           Summary: error: definition in block 5 does not dominate use in
                    block 24
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For this C code:

int a, b;
void c() {
  char d;
  for (; b;)
    for (;;)
      for (; d <= 7; d += 1) {
        a = 7;
        for (; a; a += 1)
        e:
          d += d;
        d ^= 0;
      }
  goto e;
}

compiled by -g and -O3 on recent gcc trunk, does this:

$ /home/dcb/gcc/results/bin/gcc -c -g -O3 bug658.c
bug658.c: In function ‘c’:
bug658.c:2:6: error: definition in block 5 does not dominate use in block 24
    2 | void c() {
      |      ^
for SSA_NAME: d_20 in statement:
# DEBUG d => d_20
during GIMPLE pass: vect
bug658.c:2:6: internal compiler error: verify_ssa failed
0xf0c686 verify_ssa(bool, bool)
        ../../trunk.git/gcc/tree-ssa.c:1208
0xbd5d01 execute_function_todo(function*, void*)
        ../../trunk.git/gcc/passes.c:1999

The bug seems to have appeared sometime before 20200923.

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

end of thread, other threads:[~2020-12-01 15:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23  7:42 [Bug c/97539] New: error: definition in block 5 does not dominate use in block 24 dcb314 at hotmail dot com
2020-10-23  8:51 ` [Bug tree-optimization/97539] [10/11 Regression] ICE verify_ssa failed since r10-4200-gb7ff7cef5005721e marxin at gcc dot gnu.org
2020-10-23 11:47 ` rguenth at gcc dot gnu.org
2020-10-26  9:07 ` rguenth at gcc dot gnu.org
2020-10-26 10:34 ` cvs-commit at gcc dot gnu.org
2020-10-26 10:35 ` [Bug tree-optimization/97539] [10 " rguenth at gcc dot gnu.org
2020-12-01 15:44 ` cvs-commit at gcc dot gnu.org
2020-12-01 15: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).