public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/95717] New: ICE during GIMPLE pass: vect: verify_ssa failed
@ 2020-06-17  6:59 vsevolod.livinskij at frtk dot ru
  2020-06-17  7:00 ` [Bug tree-optimization/95717] " vsevolod.livinskij at frtk dot ru
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: vsevolod.livinskij at frtk dot ru @ 2020-06-17  6:59 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95717
           Summary: ICE during GIMPLE pass: vect: 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: vsevolod.livinskij at frtk dot ru
  Target Milestone: ---

Error:
$ g++ -c -O3 func.cpp
func.cpp: In function ‘void g(bool)’:
func.cpp:5:6: error: definition in block 61 does not dominate use in block 59
    5 | void g(bool h) {
      |      ^
for SSA_NAME: prephitmp_100 in statement:
prephitmp_100 = PHI <prephitmp_100(59), _103(62)>
PHI argument
prephitmp_100
for PHI node
prephitmp_100 = PHI <prephitmp_100(59), _103(62)>
during GIMPLE pass: vect
func.cpp:5:6: internal compiler error: verify_ssa failed
0x13368a2 verify_ssa(bool, bool)
        gcc/tree-ssa.c:1208
0x10228a5 execute_function_todo
        gcc/passes.c:1992
0x102357e execute_todo
        gcc/passes.c:2039

Reproducer:
bool a;
extern bool b[];
long c, d;
int *f;
void g(bool h) {
  for (short e = 0; e < c; e = 4)
    for (; d; d++)
      b[d] = a = f[d] ? c ? h : 0 : h;
}

GCC version:
gcc version 11.0.0 (56638b9b1853666f575928f8baf17f70e4ed3517)

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

end of thread, other threads:[~2020-09-11 10:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17  6:59 [Bug tree-optimization/95717] New: ICE during GIMPLE pass: vect: verify_ssa failed vsevolod.livinskij at frtk dot ru
2020-06-17  7:00 ` [Bug tree-optimization/95717] " vsevolod.livinskij at frtk dot ru
2020-06-17  7:10 ` [Bug tree-optimization/95717] [9/10/11 Regression] ICE during GIMPLE pass: vect: verify_ssa failed since r9-5325-gf25507d041de4df6 marxin at gcc dot gnu.org
2020-06-17  9:06 ` rguenth at gcc dot gnu.org
2020-06-17 11:46 ` rguenth at gcc dot gnu.org
2020-06-17 13:03 ` cvs-commit at gcc dot gnu.org
2020-06-17 13:03 ` [Bug tree-optimization/95717] [9/10 " rguenth at gcc dot gnu.org
2020-06-24  7:02 ` cvs-commit at gcc dot gnu.org
2020-06-24  7:02 ` [Bug tree-optimization/95717] [9 " rguenth at gcc dot gnu.org
2020-09-11 10:37 ` cvs-commit at gcc dot gnu.org
2020-09-11 10:38 ` 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).