From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 97E9E385772F; Mon, 7 Aug 2023 07:37:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97E9E385772F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691393853; bh=JI83o2xi0V9aDMPKloAYFRK/ZVLSm/Y97+QFm+vGMv4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oCgFv8QktT/K+JFCUFWdz6lS82sBmNRDvsPtkWtYj5sQWo8CMcOSBJU5gPS9xJS93 t5vW7cSQAOG3DzMvyrzS+qG7Yja0shF8Nf/lRKFgJP0EMemO9c35PogUzglrc27LFy 3zBeU1/fTOctbxzD5simslPY4BYEiXrO46W2pC4I= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110924] [14 Regression] ICE on valid code at -O{s,2,3} on x86_64-linux-gnu: verify_ssa failed Date: Mon, 07 Aug 2023 07:37:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D110924 --- Comment #6 from David Binderman --- Reduced C code is func_4_p_7, func_4_l_3204; func_15() __attribute__((cold)); func_15() { for (;;) ; } func_15_alias() __attribute__((alias("func_15"))); func_4() { func_15_alias(func_4_p_7 && safe_sub_func_uint64_t_u_u(), func_4_l_3204); } -O1 is enough to show the bug. cvise $ /home/dcb38/gcc/results/bin/gcc -c -w -O1 bug946.c=20 bug946.c: In function =E2=80=98func_4=E2=80=99: bug946.c:8:1: error: stmt with wrong VUSE 8 | func_4() { | ^~~~~~ # VUSE <.MEM_5(D)> func_4_l_3204.0_1 =3D func_4_l_3204; expected .MEM_6 during GIMPLE pass: sink bug946.c:8:1: internal compiler error: verify_ssa failed 0x10c63cb verify_ssa(bool, bool) ../../trunk.year/gcc/tree-ssa.cc:1203 0xd2ccdf execute_function_todo(function*, void*) ../../trunk.year/gcc/passes.cc:2095 0xd2b6c1 execute_todo(unsigned int) ../../trunk.year/gcc/passes.cc:2142 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. cvise $=