From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8559B385C6E2; Tue, 12 Sep 2023 11:47:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8559B385C6E2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694519238; bh=khQhfhkhCiBKvfu10erObshoa8oEDQUEzxD6gozNvv8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pR53tYkYnitQGWx0jbZdvtd97NOTbS2UdAhqtkBPtW1cLYwOMAFfs9gPvgTDUBcoV tpT4YDY04YzFqOVUBV40uPwXsknG61qAAOGCRdj1+ey/rt7CbuySe0GVkfdrNk/meZ J3hB/eQVtdKQ6UKrngHE3ZHCXZyt6JKDff7vLULg= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/88345] -Os overrides -falign-functions=N on the command line Date: Tue, 12 Sep 2023 11:47:16 +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: rguenth 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: 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=3D88345 --- Comment #15 from Richard Biener --- Another option would be to add another number to -falign-functions, @itemx -falign-functions=3D@var{n}:@var{m}:@var{n2}:@var{m2}:@var{n3} where 'n3' applies unconditionally and defaults to a target specific value. And document that earlier values might not be honored for cold functions (or at -Os).=