From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 32FB93851C12; Wed, 27 May 2020 15:15:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 32FB93851C12 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590592527; bh=GFHOR/5dALoBY7lqoloqEBJKkhCs+eV7sPPmn0ogAEM=; h=From:To:Subject:Date:From; b=vSaM+vXKaapaSHTOs8eqa/cva7albWmQuBUKjbfhLGYtKAMNHLS1AzSjYz7qcqaAc NY19UZh4+KeghDlb4YN2vnespw/KsNhvSvVsExZAPqENqaUI8QPuBTIYhjN5XsrXWe jxhLXY9UHYJf6Q5QkuXDk5pzPisIpE0M7PPgSe8Y= From: "ferruh.yigit at intel dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/95367] New: gcc crashed Date: Wed, 27 May 2020 15:15:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ferruh.yigit at intel dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2020 15:15:27 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95367 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=3D48619&action=3Dedit 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 be= en 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 al= so attached. Thanks, Ferruh [1] CC hinic_pmd_nicio.o during GIMPLE pass: slp .../drivers/net/hinic/base/hinic_pmd_nicio.c: In function =E2=80=98hinic_init_qp_ctxts=E2=80=99: .../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, 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_inf= o*, vec*, vec*, _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_iterat= or*, _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_p= md_nicio.c?h=3Dv20.05 [3] gcc (GCC) 11.0.0 20200527 (experimental) [4] commit e247d59274f99520657403fd31320eeea6be92c8 Author: Martin Liska 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 -pth= read -I/root/development/dpdk-next-net/lib/librte_eal/linux/include -march=3Dna= tive -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=3D2 -Wno-format-truncation -Wno-address-of-packed-me= mber -D__X86_64_SSE__ -o hinic_pmd_nicio.o -c /root/development/dpdk-next-net/drivers/net/hinic/base/hinic_pmd_nicio.c=