From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A1A373858D1E; Mon, 13 Mar 2023 16:52:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A1A373858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678726378; bh=UubbP08/rRxcgCuYLqE94KOHCgmxqI6sgLupXRyl11o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=a+heJ03677PCBsSBek4ySeixTKBZBnVGogBzhhPotIO7uYH6vrQePjhOpoxIZlriN Tm8wWLndFKONRm5tDSkrHhvoUcv/AK3UjRtGmhUZF2Ie4zzq7sZMPFiTO4Ut710h9Q zohT5SZEiKylcL9EiTQLixi3bvdmkUx2TIknkXDs= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109109] [13 Regression] mariadb fails in tests on i586 (non-LTO mode) after r13-4435-g2c089640279614e3 Date: Mon, 13 Mar 2023 16:52:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org 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: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109109 --- Comment #3 from Jakub Jelinek --- If you suspect that one, that is certainly the simplest, in C that would be __attribute__((noipa)) void foo (unsigned long long *a, unsigned int b, unsigned int c) { *a =3D (((unsigned long long) b) << 32) | c; } int main () { unsigned long long a; foo (&a, 0xcafebabeU, 0xdeadbeefU); if (a !=3D 0xcafebabedeadbeefULL) __builtin_abort (); } and you can see the same difference with say -O2 -m32 -fno-omit-frame-point= er. But, that one works for both...=