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

            Bug ID: 95367
           Summary: gcc crashed
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ferruh.yigit at intel dot com
  Target Milestone: ---

Created attachment 48619
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48619&action=edit
the gcc output with "-v -save-temps"

Please find below gcc log [1] and the source file it builds [2].

gcc version [3] is compiled from source, the commit of the source it has been
built is [4]. And full command line to build is [5].

Also compiled with additional "-v -save-temps" parameters, the gcc output
(gcc_verbose_command_output.txt) and the .i file (hinic_pmd_nicio.i) are also
attached.

Thanks,
Ferruh




[1]
  CC hinic_pmd_nicio.o
during GIMPLE pass: slp
.../drivers/net/hinic/base/hinic_pmd_nicio.c: In function
‘hinic_init_qp_ctxts’:
.../drivers/net/hinic/base/hinic_pmd_nicio.c:521:5: internal compiler error: in
vect_get_constant_vectors, at tree-vect-slp.c:3678
  521 | int hinic_init_qp_ctxts(struct hinic_hwdev *hwdev)
      |     ^~~~~~~~~~~~~~~~~~~
0x71dcab vect_get_constant_vectors
        ../../gcc-latest/gcc/tree-vect-slp.c:3678
0x101bb01 vect_get_slp_defs(vec_info*, _slp_tree*, vec<vec<tree_node*, va_heap,
vl_ptr>, va_heap, vl_ptr>*, unsigned int)
        ../../gcc-latest/gcc/tree-vect-slp.c:3910
0xfd8e37 vect_get_vec_defs(vec_info*, tree_node*, tree_node*, _stmt_vec_info*,
vec<tree_node*, va_heap, vl_ptr>*, vec<tree_node*, va_heap, vl_ptr>*,
_slp_tree*)
        ../../gcc-latest/gcc/tree-vect-stmts.c:1636
0xfec149 vectorizable_shift
        ../../gcc-latest/gcc/tree-vect-stmts.c:5900
0xff338e vect_transform_stmt(vec_info*, _stmt_vec_info*, gimple_stmt_iterator*,
_slp_tree*, _slp_instance*)
        ../../gcc-latest/gcc/tree-vect-stmts.c:11182
0x10195f3 vect_schedule_slp_instance
        ../../gcc-latest/gcc/tree-vect-slp.c:4258
0x101969f vect_schedule_slp_instance
        ../../gcc-latest/gcc/tree-vect-slp.c:4150
0x101969f vect_schedule_slp_instance
        ../../gcc-latest/gcc/tree-vect-slp.c:4150
0x1023632 vect_schedule_slp(vec_info*)
        ../../gcc-latest/gcc/tree-vect-slp.c:4382
0x102436f vect_slp_bb_region
        ../../gcc-latest/gcc/tree-vect-slp.c:3341
0x102436f vect_slp_bb(basic_block_def*)
        ../../gcc-latest/gcc/tree-vect-slp.c:3464
0x1025ede execute
        ../../gcc-latest/gcc/tree-vectorizer.c:1320
Please submit a full bug report,
with preprocessed source if appropriate


[2]
https://git.dpdk.org/next/dpdk-next-net/tree/drivers/net/hinic/base/hinic_pmd_nicio.c?h=v20.05

[3]
gcc (GCC) 11.0.0 20200527 (experimental)

[4]
commit e247d59274f99520657403fd31320eeea6be92c8
Author: Martin Liska <mli...@suse.cz>
Date:   Tue May 26 15:32:32 2020 +0200

    Add new git-backport.py script.

    contrib/ChangeLog:

            * gcc-git-customization.sh: Use git-backport.py to drop
            all changes for ChangeLog files.
            * git-backport.py: New file.

[5]
/usr/local/gcc-latest/bin/gcc -Wp,-MD,./.hinic_pmd_nicio.o.d.tmp  -m64 -pthread
-I/root/development/dpdk-next-net/lib/librte_eal/linux/include  -march=native
-DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2 -DRTE_MACHINE_CPUFLAG_SSE3
-DRTE_MACHINE_CPUFLAG_SSSE3 -DRTE_MACHINE_CPUFLAG_SSE4_1
-DRTE_MACHINE_CPUFLAG_SSE4_2 -DRTE_MACHINE_CPUFLAG_AES
-DRTE_MACHINE_CPUFLAG_PCLMULQDQ -DRTE_MACHINE_CPUFLAG_AVX
-DRTE_MACHINE_CPUFLAG_RDRAND -DRTE_MACHINE_CPUFLAG_RDSEED
-DRTE_MACHINE_CPUFLAG_FSGSBASE -DRTE_MACHINE_CPUFLAG_F16C
-DRTE_MACHINE_CPUFLAG_AVX2  -I/root/development/dpdk-next-net/build/include
-DRTE_USE_FUNCTION_VERSIONING -include
/root/development/dpdk-next-net/build/include/rte_config.h
-DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -D_GNU_SOURCE -O3 -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs
-Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings
-Wdeprecated -Werror -Wno-missing-field-initializers -Wno-zero-length-bounds
-Wimplicit-fallthrough=2 -Wno-format-truncation -Wno-address-of-packed-member
-D__X86_64_SSE__    -o hinic_pmd_nicio.o -c
/root/development/dpdk-next-net/drivers/net/hinic/base/hinic_pmd_nicio.c

Reply via email to