From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8628F385803F; Wed, 26 Oct 2022 08:15:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8628F385803F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666772108; bh=CyzpW5MCfOxWP9gKNloXUVdSPnz+0ht40KqBopBHj1s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Bc9PEsEwBTy2TZOQVnfnJ3mXim0g+9foEt1q5AYcH+uTgM4LQnX5USSUYY/aIHPT+ gYbJLV0l09cwWMB59ex6UGB2988TijxdLBq9JMvsGxX7867srbte4WySem6XRAtxtR yNckgJ24YhLO+e9XROMf8wxrdV78EnRi0+CZU13I= From: "rth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/107389] Always propagate __builtin_assume_aligned Date: Wed, 26 Oct 2022 08:15:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 12.2.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rth 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status short_desc version everconfirmed cf_reconfirmed_on bug_severity 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=3D107389 Richard Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Alignment not inferred from |Always propagate |type at -O0 |__builtin_assume_aligned Version|unknown |12.2.1 Ever confirmed|0 |1 Last reconfirmed| |2022-10-26 Severity|normal |enhancement --- Comment #4 from Richard Henderson --- Rename and re-categorise as enhancement. As mentioned, in comments above, need to be able to rely on __builtin_assume_aligned even with -O0 to avoid link errors when not including libatomic.=