From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 20A673858D32; Tue, 26 Jul 2022 18:44:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 20A673858D32 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106450] New: [13 Regression] ICE in final_scan_insn_1, at final.cc:2860 (error: could not split insn) Date: Tue, 26 Jul 2022 18:44:28 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget 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: Tue, 26 Jul 2022 18:44:29 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106450 Bug ID: 106450 Summary: [13 Regression] ICE in final_scan_insn_1, at final.cc:2860 (error: could not split insn) Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: x86_64-unknown-linux-gnu gcc 13.0.0 20220724 snapshot (g:8b8103dcd2624936bd1f56ac2ee63d1fb779a7e4) I= CEs when compiling the following testcase w/ -O2 -fsplit-paths: __int128 n; __attribute__ ((simd)) void foo (void) { __int128 uninitialized; unsigned __int128 *p =3D &n; n >>=3D *p ? : 2; n |=3D uninitialized; } % x86_64-unknown-linux-gnu-gcc-13.0.0 -O2 -fsplit-paths -c bov4bfel.c bov4bfel.c: In function 'foo.simdclone.0': bov4bfel.c:11:1: error: could not split insn 11 | } | ^ (insn:TI 14 75 61 4 (parallel [ (set (reg:TI 0 ax [92]) (ior:TI (reg:TI 0 ax [91]) (mem/c:V1TI (plus:DI (reg/f:DI 7 sp) (const_int -24 [0xffffffffffffffe8])) [2 %sfp+-= 16 S16 A128]))) (clobber (reg:CC 17 flags)) ]) "bov4bfel.c":10:5 573 {*iorti3_doubleword} (expr_list:REG_UNUSED (reg:CC 17 flags) (expr_list:REG_EQUIV (mem/c:TI (symbol_ref:DI ("n") [flags 0x2] ) [1 n+0 S16 A128]) (nil)))) during RTL pass: final bov4bfel.c:11:1: internal compiler error: in final_scan_insn_1, at final.cc:2860 0x72828d _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/rt= l-error.cc:108 0x6bc8a6 final_scan_insn_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/fi= nal.cc:2860 0xb3597b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/fi= nal.cc:2939 0xb35b24 final_1 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/fi= nal.cc:1996 0xb366d6 rest_of_handle_final =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/fi= nal.cc:4284 0xb366d6 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220724/work/gcc-13-20220724/gcc/fi= nal.cc:4364=