public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/101012] New: ice in vect_slp_analyze_node_operations
@ 2021-06-10  9:29 dcb314 at hotmail dot com
  2021-06-10  9:34 ` [Bug c/101012] " dcb314 at hotmail dot com
  2021-06-10  9:44 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2021-06-10  9:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101012
           Summary: ice in vect_slp_analyze_node_operations
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 50976
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50976&action=edit
C source code

For the attached C code, compiled with today's gcc trunk and
compiler flag -O3, does this:

bug446
during GIMPLE pass: vect
tif_getimage.c: In function ‘putRGBseparate8bittile’:
tif_getimage.c:1618:13: internal compiler error: in
vect_slp_analyze_node_operations, at tree-vect-slp.c:4442
0x5fd6fd vect_slp_analyze_node_operations
        ../../trunk.git/gcc/tree-vect-slp.c:4442
0xd902b3 vect_slp_analyze_node_operations
        ../../trunk.git/gcc/tree-vect-slp.c:4385
0xd902b3 vect_slp_analyze_node_operations
        ../../trunk.git/gcc/tree-vect-slp.c:4385
0xd902b3 vect_slp_analyze_node_operations
        ../../trunk.git/gcc/tree-vect-slp.c:4385

The bug first seems to occur sometime after git hash 
91349e57bbfd0101, dated a couple of days ago, and git
hash f8b067056ba5dd53, dated today.

I will have my usual go at reducing the code. If someone
else wants to do the git bisect, then that's fine by me.

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

* [Bug c/101012] ice in vect_slp_analyze_node_operations
  2021-06-10  9:29 [Bug c/101012] New: ice in vect_slp_analyze_node_operations dcb314 at hotmail dot com
@ 2021-06-10  9:34 ` dcb314 at hotmail dot com
  2021-06-10  9:44 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: dcb314 at hotmail dot com @ 2021-06-10  9:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Reduced C code seems to be:

putRGBAAseparate8bittile_w(int *cp, unsigned char *g) {
  char *a, *r;
  unsigned *b;
  int _x;
  for (; _x; _x -= 8) {
    *cp++ = *r++ | (unsigned)*g++ << 8 | *b++ << 16 | (unsigned)*a++ << 24;
    *cp++ = *r++ | (unsigned)*g++ << 8 | *b++ << 16 | (unsigned)*a++ << 24;
  }
}

This bug seems strongly related to gcc bugzilla # 86179, which was 
# 446 on my list of 724.

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

* [Bug c/101012] ice in vect_slp_analyze_node_operations
  2021-06-10  9:29 [Bug c/101012] New: ice in vect_slp_analyze_node_operations dcb314 at hotmail dot com
  2021-06-10  9:34 ` [Bug c/101012] " dcb314 at hotmail dot com
@ 2021-06-10  9:44 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-10  9:44 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
dup (and fixed)

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

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

end of thread, other threads:[~2021-06-10  9:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10  9:29 [Bug c/101012] New: ice in vect_slp_analyze_node_operations dcb314 at hotmail dot com
2021-06-10  9:34 ` [Bug c/101012] " dcb314 at hotmail dot com
2021-06-10  9:44 ` 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).