public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/95987] New: Another ice during GIMPLE pass: slp
@ 2020-06-29 21:44 dcb314 at hotmail dot com
  2020-06-30  9:11 ` [Bug tree-optimization/95987] " LpSolit at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dcb314 at hotmail dot com @ 2020-06-29 21:44 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95987
           Summary: Another ice during GIMPLE pass: slp
           Product: gcc
           Version: unknown
            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:

$ cat bug627.cc
int a;
class b {
  void c();
  static int f[];
};
void b::c() {
  for (int d; d; ++d)
    for (int e = 0; e < 6; ++e)
      f[e] = e + 4 << a;
}

compiled on recent gcc trunk, does this:

$ /home/dcb/gcc/results/bin/c++  -c -w -O3 -std=c++14 bug627.cc
bug627.cc: In member function ‘void b::c()’:
bug627.cc:6:6: error: definition in block 3 follows the use
    6 | void b::c() {
      |      ^
for SSA_NAME: a.0_16 in statement:
vect__17.12_53 = vect_cst__12 << a.0_16;
during GIMPLE pass: slp
bug627.cc:6:6: internal compiler error: verify_ssa failed
0x13fa7db verify_ssa(bool, bool)
        ../../trunk.git/gcc/tree-ssa.c:1208
0x108dde5 execute_function_todo
        ../../trunk.git/gcc/passes.c:1992

The bug seems to first occur sometime between 20200624 and 20200625.

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

end of thread, other threads:[~2024-01-14 21:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 21:44 [Bug c++/95987] New: Another ice during GIMPLE pass: slp dcb314 at hotmail dot com
2020-06-30  9:11 ` [Bug tree-optimization/95987] " LpSolit at gmail dot com

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