public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/98308] New: ICe in in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512
@ 2020-12-16  5:16 vsevolod.livinskij at frtk dot ru
  2020-12-16  8:29 ` [Bug tree-optimization/98308] ]ICE in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 since r11-615-gdc0c0196340f7ac5 marxin at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vsevolod.livinskij at frtk dot ru @ 2020-12-16  5:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98308
           Summary: ICe in in vect_slp_analyze_node_operations, at
                    tree-vect-slp.c:3764 with -O3 -march=skylake-avx512
           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: ---

Reproducer:
extern unsigned long long int arr_86[];
extern unsigned long long int arr_87[][15];

void test(bool a, unsigned short c[][15], unsigned char d[]) {
    for (short h = 0; h < 10; h++)
        for (char i = 0; i < 15; i += 2) {
            arr_86[0] = d[0];
            arr_87[h][0] = a ? c[h][i] : 0;
        }
}

Error:
>$ g++ -c -O3 -march=skylake-avx512 func.cpp
during GIMPLE pass: vect
func.cpp: In function ‘void test(bool, short unsigned int (*)[15], unsigned
char*)’:
func.cpp:4:6: internal compiler error: in vect_slp_analyze_node_operations, at
tree-vect-slp.c:3764
    4 | void test(bool a, unsigned short c[][15], unsigned char d[]) {
      |      ^~~~
0x886a4d vect_slp_analyze_node_operations
        gcc_src/gcc/tree-vect-slp.c:3764
0x1425a73 vect_slp_analyze_node_operations
        gcc_src/gcc/tree-vect-slp.c:3719
0x1425a73 vect_slp_analyze_node_operations
        gcc_src/gcc/tree-vect-slp.c:3719
0x1425a73 vect_slp_analyze_node_operations
        gcc_src/gcc/tree-vect-slp.c:3719
0x1427101 vect_slp_analyze_operations(vec_info*)
        gcc_src/gcc/tree-vect-slp.c:3914
0x1404939 vect_analyze_loop_2
        gcc_src/gcc/tree-vect-loop.c:2391
0x1404939 vect_analyze_loop(loop*, vec_info_shared*)
        gcc_src/gcc/tree-vect-loop.c:2929
0x14311f4 try_vectorize_loop_1
        gcc_src/gcc/tree-vectorizer.c:1008
0x1431c59 vectorize_loops()
        gcc_src/gcc/tree-vectorizer.c:1242
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

gcc version 11.0.0 20201214 (22a90217305ee8c116bbc12c8d07abe7ca0ff61d)

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

* [Bug tree-optimization/98308] ]ICE in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 since r11-615-gdc0c0196340f7ac5
  2020-12-16  5:16 [Bug tree-optimization/98308] New: ICe in in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 vsevolod.livinskij at frtk dot ru
@ 2020-12-16  8:29 ` marxin at gcc dot gnu.org
  2020-12-16  8:29 ` [Bug tree-optimization/98308] [11 Regression] ICE " marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-16  8:29 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-12-16
            Summary|ICe in in                   |]ICE in
                   |vect_slp_analyze_node_opera |vect_slp_analyze_node_opera
                   |tions, at                   |tions, at
                   |tree-vect-slp.c:3764 with   |tree-vect-slp.c:3764 with
                   |-O3 -march=skylake-avx512   |-O3 -march=skylake-avx512
                   |                            |since
                   |                            |r11-615-gdc0c0196340f7ac5

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r11-615-gdc0c0196340f7ac5.

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

* [Bug tree-optimization/98308] [11 Regression] ICE in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 since r11-615-gdc0c0196340f7ac5
  2020-12-16  5:16 [Bug tree-optimization/98308] New: ICe in in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 vsevolod.livinskij at frtk dot ru
  2020-12-16  8:29 ` [Bug tree-optimization/98308] ]ICE in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 since r11-615-gdc0c0196340f7ac5 marxin at gcc dot gnu.org
@ 2020-12-16  8:29 ` marxin at gcc dot gnu.org
  2021-01-04  8:58 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-16  8:29 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|]ICE in                     |[11 Regression] ICE in
                   |vect_slp_analyze_node_opera |vect_slp_analyze_node_opera
                   |tions, at                   |tions, at
                   |tree-vect-slp.c:3764 with   |tree-vect-slp.c:3764 with
                   |-O3 -march=skylake-avx512   |-O3 -march=skylake-avx512
                   |since                       |since
                   |r11-615-gdc0c0196340f7ac5   |r11-615-gdc0c0196340f7ac5
   Target Milestone|---                         |11.0
      Known to fail|                            |11.0
      Known to work|                            |10.2.0
                 CC|                            |rguenth at gcc dot gnu.org

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

* [Bug tree-optimization/98308] [11 Regression] ICE in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 since r11-615-gdc0c0196340f7ac5
  2020-12-16  5:16 [Bug tree-optimization/98308] New: ICe in in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 vsevolod.livinskij at frtk dot ru
  2020-12-16  8:29 ` [Bug tree-optimization/98308] ]ICE in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 since r11-615-gdc0c0196340f7ac5 marxin at gcc dot gnu.org
  2020-12-16  8:29 ` [Bug tree-optimization/98308] [11 Regression] ICE " marxin at gcc dot gnu.org
@ 2021-01-04  8:58 ` rguenth at gcc dot gnu.org
  2021-01-04 13:39 ` cvs-commit at gcc dot gnu.org
  2021-01-04 13:39 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-04  8:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
             Status|NEW                         |ASSIGNED
           Priority|P3                          |P1

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

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

* [Bug tree-optimization/98308] [11 Regression] ICE in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 since r11-615-gdc0c0196340f7ac5
  2020-12-16  5:16 [Bug tree-optimization/98308] New: ICe in in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 vsevolod.livinskij at frtk dot ru
                   ` (2 preceding siblings ...)
  2021-01-04  8:58 ` rguenth at gcc dot gnu.org
@ 2021-01-04 13:39 ` cvs-commit at gcc dot gnu.org
  2021-01-04 13:39 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-04 13:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:9e79d76a16c56df0f838b9aede69c0a158203f56

commit r11-6444-g9e79d76a16c56df0f838b9aede69c0a158203f56
Author: Richard Biener <rguenther@suse.de>
Date:   Mon Jan 4 13:25:35 2021 +0100

    tree-optimization/98308 - set vector type for mask of masked load

    This makes sure to set the vector type on an invariant mask argument
    for a masked load and SLP.

    2021-01-04  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/98308
            * tree-vect-stmts.c (vectorizable_load): Set invariant mask
            SLP vectype.

            * gcc.dg/vect/pr98308.c: New testcase.

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

* [Bug tree-optimization/98308] [11 Regression] ICE in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 since r11-615-gdc0c0196340f7ac5
  2020-12-16  5:16 [Bug tree-optimization/98308] New: ICe in in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 vsevolod.livinskij at frtk dot ru
                   ` (3 preceding siblings ...)
  2021-01-04 13:39 ` cvs-commit at gcc dot gnu.org
@ 2021-01-04 13:39 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-04 13:39 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2021-01-04 13:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16  5:16 [Bug tree-optimization/98308] New: ICe in in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 vsevolod.livinskij at frtk dot ru
2020-12-16  8:29 ` [Bug tree-optimization/98308] ]ICE in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 since r11-615-gdc0c0196340f7ac5 marxin at gcc dot gnu.org
2020-12-16  8:29 ` [Bug tree-optimization/98308] [11 Regression] ICE " marxin at gcc dot gnu.org
2021-01-04  8:58 ` rguenth at gcc dot gnu.org
2021-01-04 13:39 ` cvs-commit at gcc dot gnu.org
2021-01-04 13:39 ` 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).