public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/97354] New: ice during GIMPLE pass: slp
@ 2020-10-09 15:28 dcb314 at hotmail dot com
  2020-10-12  6:17 ` [Bug tree-optimization/97354] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2020-10-09 15:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97354
           Summary: ice during GIMPLE pass: slp
           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: ---

The following C code:

int a, c, d;
_Complex *b;
_Complex e;
void f(void) {
  _Complex g;
  for (; a;) {
    e = b[0];
    for (; d; d++)
      b[c] = e;
  }
  e = g * 0;
}


with compiler flag -O3, does this:

during GIMPLE pass: slp
bug650.c: In function ‘f’:
bug650.c:4:6: internal compiler error: in as_a, at is-a.h:197
    4 | void f(void) {
      |      ^
0xf7b1b4 gphi* as_a<gphi*, gimple>(gimple*)
        ../../trunk.git/gcc/is-a.h:197
0xf7b1b4 gphi_iterator::phi() const
        ../../trunk.git/gcc/gimple-iterator.h:43
0xf7b1b4 _bb_vec_info::~_bb_vec_info()
        ../../trunk.git/gcc/tree-vect-slp.c:2777
0xf7dcf0 vect_slp_region(vec<basic_block_def*, va_heap, vl_ptr>,
vec<data_reference*, va_heap, vl_ptr>, vec<int, va_heap, vl_ptr>*, unsigned
int)
        ../../trunk.git/gcc/tree-vect-slp.c:3741

The bug first seems to occur sometime between 20201008 and 20201009.

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

* [Bug tree-optimization/97354] ice during GIMPLE pass: slp
  2020-10-09 15:28 [Bug c/97354] New: ice during GIMPLE pass: slp dcb314 at hotmail dot com
@ 2020-10-12  6:17 ` rguenth at gcc dot gnu.org
  2020-10-12  6:40 ` rguenth at gcc dot gnu.org
  2020-10-12 11:13 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-12  6:17 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Last reconfirmed|                            |2020-10-12
          Component|c                           |tree-optimization

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.

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

* [Bug tree-optimization/97354] ice during GIMPLE pass: slp
  2020-10-09 15:28 [Bug c/97354] New: ice during GIMPLE pass: slp dcb314 at hotmail dot com
  2020-10-12  6:17 ` [Bug tree-optimization/97354] " rguenth at gcc dot gnu.org
@ 2020-10-12  6:40 ` rguenth at gcc dot gnu.org
  2020-10-12 11:13 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-12  6:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hmm, possibly a dup of PR97347, this fixed by
5d708c6315e0fc57992cda7b466a5a9877ced4e3

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

* [Bug tree-optimization/97354] ice during GIMPLE pass: slp
  2020-10-09 15:28 [Bug c/97354] New: ice during GIMPLE pass: slp dcb314 at hotmail dot com
  2020-10-12  6:17 ` [Bug tree-optimization/97354] " rguenth at gcc dot gnu.org
  2020-10-12  6:40 ` rguenth at gcc dot gnu.org
@ 2020-10-12 11:13 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-12 11:13 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
dup indeed

*** This bug has been marked as a duplicate of bug 97347 ***

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-09 15:28 [Bug c/97354] New: ice during GIMPLE pass: slp dcb314 at hotmail dot com
2020-10-12  6:17 ` [Bug tree-optimization/97354] " rguenth at gcc dot gnu.org
2020-10-12  6:40 ` rguenth at gcc dot gnu.org
2020-10-12 11:13 ` 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).