From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 498EB3853D36; Fri, 18 Aug 2023 10:53:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 498EB3853D36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692355980; bh=dU60bEdYGrUP4iJ20TIZwRKHoMnVBDG4gWXdZO1xpls=; h=From:To:Subject:Date:From; b=odzY7Dp7ZC2ceG6Uito3C1lyFZFefmEDgyyJny+eoj/6DPhqfaTNeSPJuIIHZIlpW wQxNBzzrVg7gkmzfSlJ6W0DfMwv1Z/IWY/yM+LSfysO+bMP1o84zmTqnvkMUnVOeoD mvy1LMjWNnYAR333etpWnEjCJXrFVu/tIIRtNgi8= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111062] New: ICE: in final_scan_insn_1, at final.cc:2808 could not split insn {*andndi_1} with -O -mavx10.1-256 -mavx512bw -mno-avx512f Date: Fri, 18 Aug 2023 10:52:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111062 Bug ID: 111062 Summary: ICE: in final_scan_insn_1, at final.cc:2808 could not split insn {*andndi_1} with -O -mavx10.1-256 -mavx512bw -mno-avx512f Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 55755 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55755&action=3Dedit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -O -mavx10.1-256 -mavx512bw -mno-avx512f testcase= .c cc1: warning: '-mno-avx512{f,vl,bw,dq,cd,bf16,fp16,vbmi,vbmi2,vnni,ifma,bitalg,vpopcntdq}' are ignored with '-mavx10.1' and above testcase.c: In function 'foo': testcase.c:7:1: warning: AVX512F vector return without AVX512F enabled chan= ges the ABI [-Wpsabi] 7 | { | ^ testcase.c:10:1: error: could not split insn 10 | } | ^ (insn 24 111 25 2 (parallel [ (set (reg:DI 69 k1 [156]) (and:DI (not:DI (reg:DI 70 k2 [226])) (reg:DI 68 k0 [157]))) (clobber (reg:CC 17 flags)) ]) "testcase.c":9:12 624 {*andndi_1} (expr_list:REG_DEAD (reg:DI 70 k2 [226]) (expr_list:REG_UNUSED (reg:CC 17 flags) (nil)))) during RTL pass: final testcase.c:10:1: internal compiler error: in final_scan_insn_1, at final.cc:2808 0x7e6460 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /repo/gcc-trunk/gcc/rtl-error.cc:108 0x74d1ee final_scan_insn_1 /repo/gcc-trunk/gcc/final.cc:2808 0x108b06b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) /repo/gcc-trunk/gcc/final.cc:2887 0x108b2a4 final_1 /repo/gcc-trunk/gcc/final.cc:1979 0x108bef8 rest_of_handle_final /repo/gcc-trunk/gcc/final.cc:4240 0x108bef8 execute /repo/gcc-trunk/gcc/final.cc:4318 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. -mno-avx512f needs to be passed, even though the compiler indicates it's ignored $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-g= cc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-r14-3320-20230818093638-= g7f8d730a563-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc= /x86_64-pc-linux-gnu/14.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --with-ld=3D/usr/bin/x86_64-pc-linux-gnu-ld --with-as=3D/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-r14-3320-20230818093638-g7f8d730a5= 63-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20230818 (experimental) (GCC)=