From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x936.google.com (mail-ua1-x936.google.com [IPv6:2607:f8b0:4864:20::936]) by sourceware.org (Postfix) with ESMTPS id D75143857361 for ; Tue, 11 Oct 2022 22:15:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D75143857361 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gwmail.gwu.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gwmail.gwu.edu Received: by mail-ua1-x936.google.com with SMTP id d3so5554386uav.7 for ; Tue, 11 Oct 2022 15:15:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gwmail.gwu.edu; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jb6WwP2fxw+RehnlANpuXOQcHZHWxiv/Cw14S6p8xAo=; b=f/BTP7LKriGP5yJ1O/20Wl6uM0p3KJwfG/7Un9S6CPXif0aAqg8P9LlEIUR7eyAvIs MV0ghSamZtkB+KSpeOdvDRUCRyvkOib9uysRGNLoP7Zqb4j5EwvTgQJ8lRDif4yjWMHn uJPGdT1gEy08KFOlTy0Khp85JD9GY26WTSasvtDTzqqEuxhRpBupgtsXVutdLPDlprNu qTsjYlLVHt61b4w5f/85fxyf3UNqXSwGOAutGVZJ/H3Pyq3hukQ824PZSVicC34t3w/F BqHTEbITN3LmOxz/V1uQ1v8YKl2IfZ8Cm7tzY3kX/Zcx9qyBIh2F2TXOIw66rkawqgd9 54Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jb6WwP2fxw+RehnlANpuXOQcHZHWxiv/Cw14S6p8xAo=; b=kR4eCRMtjojouTERtvR0u6vzZfFNmE1QNVMxYfmfA/3NJqiRrgHdniMy8YsrOcwtdb 47aoApkxPcFoolgDR5gu8VG44o3o9fvzTc0htslvTH01qp14wSBmC/rssLKbxPKjhRaE TnJb53FwgbgqzYvFVMK9vCVSdg076uT/4ddIE4rG5VeSYaqh+NFxaUnIFbe8TSUWeWcC bfuWnOttr+lJ1G+tWYv8RGLP4pt1wSowl4VqNVFJ/HjgNo819PCI3dSUpYhHj1oJ13hN Reeb04fkYVnFn5zsWA0oXYt8f5+IV4UnGOgUfmjiJBogexjUO9Aa21o2Oz6ajMRpT/zU frHQ== X-Gm-Message-State: ACrzQf0jqayBiRXWci8nXhyqpvEaGjfwPp/OTdgiq83iSq/az++yBjUs twTTwJg27b8ySYdrhi52nXl1XkFFtlqCrluGjFFw2Q== X-Google-Smtp-Source: AMsMyM4vFsdJJ7UHbZYNIO9gzeKLpxfF3QDr8sNqHCfmeSzvnfJP+4O9m5w/pcJoZzeAL0i4MzScnTDf7WYgjeaOE7g= X-Received: by 2002:ab0:5b47:0:b0:3e9:5:4bf1 with SMTP id v7-20020ab05b47000000b003e900054bf1mr2081355uae.89.1665526545205; Tue, 11 Oct 2022 15:15:45 -0700 (PDT) MIME-Version: 1.0 References: <20221011210156.7710-1-palmer@rivosinc.com> <20221011210156.7710-3-palmer@rivosinc.com> In-Reply-To: <20221011210156.7710-3-palmer@rivosinc.com> From: Eric Gallager Date: Tue, 11 Oct 2022 18:15:33 -0400 Message-ID: Subject: Re: [PATCH v2 2/3] doc: -falign-functions is ignored under -Os To: Palmer Dabbelt Cc: richard.guenther@gmail.com, hubicka@ucw.cz, gcc-patches@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,GIT_PATCH_0,JMQ_SPF_NEUTRAL,LIKELY_SPAM_BODY,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, Oct 11, 2022 at 5:03 PM Palmer Dabbelt wrote: > > This is implicitly mentioned in the docs, but there were some questions > in a recent patch. This makes it more exlicit that -falign-functions is > meant to be ignored under -Os. > > gcc/doc/ChangeLog > > * invoke.texi (-falign-functions): Mention -Os Since there's -Oz now, too, should that be mentioned as well? > --- > gcc/doc/invoke.texi | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi > index 8326a60dcf1..a24798d5029 100644 > --- a/gcc/doc/invoke.texi > +++ b/gcc/doc/invoke.texi > @@ -13164,7 +13164,8 @@ equivalent and mean that functions are not aligned. > If @var{n} is not specified or is zero, use a machine-dependent default. > The maximum allowed @var{n} option value is 65536. > > -Enabled at levels @option{-O2}, @option{-O3}. > +Enabled at levels @option{-O2}, @option{-O3}. This has no behavior under under > +@option{-Os}. > > @item -flimit-function-alignment > If this option is enabled, the compiler tries to avoid unnecessarily > -- > 2.34.1 >