From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E57E1385742A; Tue, 5 Jul 2022 09:15:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E57E1385742A From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106157] [13 Regression] ICE verify_ssa failed since r13-1268-g8c99e307b20c502e Date: Tue, 05 Jul 2022 09:15:43 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: aldyh at gcc dot gnu.org 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: 13.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 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, 05 Jul 2022 09:15:44 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106157 --- Comment #1 from Aldy Hernandez --- Silly question... In the lto1 that ICEs, we have the following in a.ltrans0.ltrans.094t.fixup_cfg3 (i.e. before DOM even comes into the pictu= re): // Local variable struct VideoFrame videoFrame; ... ... ... [local count: 1073741824]: _5 =3D MEM[(struct VideoThumbnailer *)this_1(D)].m_MaintainAspectRatio; _6 =3D (int) _5; _7 =3D MEM[(struct VideoThumbnailer *)this_1(D)].m_ThumbnailSize; _12 =3D &MEM[(struct VideoFrame &)&videoFrame].frameData; __pos_13 =3D MEM[(struct vector *)&videoFrame + 8B].D.4741._M_impl._M_sta= rt; _14 =3D MEM[(struct vector *)&videoFrame + 8B].D.4741._M_impl._M_finish; if (__pos_13 !=3D _14) goto ; [70.00%] else goto ; [30.00%] Aren't we reading from videoFrame before it's set?=