From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 55AE93858D32; Wed, 10 Apr 2024 05:56:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55AE93858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712728606; bh=BxOOu3/ZI7lZIXG5m/aRCkzH6juv/Xuly/98yPqaMlc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=O5ltk+5HHHq/7rUQHMORIIn0HrxjhdJfrWFbszmhENyDB/2jXGgEliowZUfIeNSas KFzP15JE4xtcDyjOjjvPEuEISyO/k3up486EXS/6kXofm+ZokB/8cMQPkdKl1BRIXx 2sTyZGNFgam+Ma+ps9jj+tYG8CFfw09OsNGn8XcU= From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/114662] [14 regression] new test case c_lto_pr113359-2 from r14-9841-g1e3312a25a7b34 fails Date: Wed, 10 Apr 2024 05:56:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linkw at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: linkw at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed assigned_to cc cf_reconfirmed_on bug_status 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=3D114662 Kewen Lin changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gn= u.org CC| |linkw at gcc dot gnu.org Last reconfirmed| |2024-04-10 Status|UNCONFIRMED |ASSIGNED --- Comment #2 from Kewen Lin --- I think this is a test issue, with -m32 unsigned long is 4 bytes while CL1,= CL2 are 8 bytes constants, then it considers some checks would always fail and = the abort will happen, since the optimization aggressively optimize away the ca= ll to getb, there is no chance to further check "semantic equality". The IR for main at *.015t.cfg looks like: int main (int argc, char * * argv) { struct SB b; struct SA a; int D.3983; : init (); geta (&a, &ga); _1 =3D a.ax; if (_1 !=3D 3735928559) goto ; [INV] else goto ; [INV] : __builtin_abort (); : __builtin_abort (); }=