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

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