public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vsevolod.livinskij at frtk dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/95717] New: ICE during GIMPLE pass: vect: verify_ssa failed
Date: Wed, 17 Jun 2020 06:59:58 +0000	[thread overview]
Message-ID: <bug-95717-4@http.gcc.gnu.org/bugzilla/> (raw)

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)

             reply	other threads:[~2020-06-17  6:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-17  6:59 vsevolod.livinskij at frtk dot ru [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-95717-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).