From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8760E398603D; Fri, 11 Sep 2020 10:52:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8760E398603D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1599821552; bh=zjnSIuZufIv27TGH9qqjTMUFskLzO88XuAy3B7OyDC8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BLLWhycDq382hUHWgPq1QpMHUExc70GC3Vk2s34OcGR6eESQJRENTeZ41+oy+uR+R viSxXwh2OvZLUh68mzScqIBQQlXyESV/CeaJd+isMyUltC27jMht/VieOP3IaxfKgi k8f8V7BzxxvzwF2bqaZXb0vM5PC0bXpCmGPj4eDI= From: "koen.zandberg at inria dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88345] -Os overrides -falign-functions=N on the command line Date: Fri, 11 Sep 2020 10:52:32 +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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: koen.zandberg at inria dot fr 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Fri, 11 Sep 2020 10:52:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D88345 Koen Zandberg changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |koen.zandberg at inria dot= fr --- Comment #6 from Koen Zandberg --- We're hitting this bug on the an ARMv7 (cortex-m7) platform. Due to cache alignment we see a significant increase in performance when aligning indivi= dual functions on cache line boundaries, but we still prefer to compile with size optimizations enabled due to the limited resources available on the platfor= m. Is there a way to work around this issue and enable -falign-functions toget= her with -Os?=