From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by sourceware.org (Postfix) with ESMTPS id 502B23877216 for ; Tue, 6 Dec 2022 21:03:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 502B23877216 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-1447c7aa004so10812403fac.11 for ; Tue, 06 Dec 2022 13:03:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=4AbajobMEnOs13f2PHpNB3AJ74ukbEPVt3mYGI8plMM=; b=NM6ApkRyf5DYK0+4JciurDvjQwsZLTSoDwqPm+byO6ktNhlgbsSoiAjQixO7VnW1rC 7mwWXD4rfPTAuL1hNPdLJzZ4C6bdJS76LCuOauGmV7fKhi/gr/pVSOCsRCyswsB4x+Mq FTxG9/ZKgdp8Q7TZJFdXl7ecDaDqyLxuFeJ1eYJdnCLe2FcLsZC/c7MvGEX4EwIFaxGI 1yDJDsaLM6DtCY9eCbvu8/rOIb3U6n7nFcZsMgUOoEyylXkI483mzRpuRR837xS83day Um7R7DbpPwOwpI7/T4JkECBpvnD5knwgtx6JSXdCD53YreRqoxoIZk+USy/8sO+IKIss wkzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4AbajobMEnOs13f2PHpNB3AJ74ukbEPVt3mYGI8plMM=; b=fq64D3ho9u6O1+q3zSOLoxKY3tvxOR7x/ZIcmOeqmvp0gS4HK6bSK9DflF8Papz78V Jn2gjq9ze9HsmIAQ3TAicaAgyJzIYrKuazw1+vbJT5HsqHnJn911fu4Xmp/LynByGvgn U0NMhKv5KuxfG6srZxTKGYG/PsN4r++aZW4XnUOquPHbRDAnIXkduipw8SSd+rNbLgua 0Li8HfoG5gsD2zYPwgO4oaCiWi5g/kMyq5yxTzN8AqcXIuHlS2o9x/OJX7LYYOWh35EJ HdpkA8T4lWDyLI+yeH3sCtU8iYy4PkRvADNYjTYTtUkZwafgrMzFkln5PGlIw8VzlP7Y fUZA== X-Gm-Message-State: ANoB5pmf84tSInigOtYrB0vZaRcoboQLcWpZVdXV1CIuNYDmCg6xzPRN n53sr2BNnE0G2AoWNtKrAf1gq5z7b+pRr+NIzsUb1vIF5wI= X-Google-Smtp-Source: AA0mqf6zpCFyAhZ3KMzsN6qVNL7qGTt0ruhOd1YneSrUP0iikZZfVhOeoKJWqDduIeaBDfDmyQYBBOF6buGQpW/p8Lo= X-Received: by 2002:a05:6870:8a12:b0:143:e3af:7b93 with SMTP id p18-20020a0568708a1200b00143e3af7b93mr19580851oaq.118.1670360612230; Tue, 06 Dec 2022 13:03:32 -0800 (PST) MIME-Version: 1.0 From: David Blaikie Date: Tue, 6 Dec 2022 13:03:21 -0800 Message-ID: Subject: Naming flag for specifying the output file name for Binary Module Interface files To: gcc Mailing List , Iain Sandoe , "chuanqi.xcq" , Nathan Sidwell Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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: Over in https://reviews.llvm.org/D137059 we're discussing the naming of a clang flag - would be good to have it be consistent with GCC. The functionality is to name the BMI (.pcm in Clang's parlance) output file when compiling a C++20 module. Current proposal is to use `-fsave-std-cxx-module-file=` which is certainly precise, but maybe a bit verbose. Clang has some other flags related to modules that skip the std/cxx parts, and are just `-fmodule-*` or `-fmodules-*`, so there's some precedent for that too. Do GCC folks have any veto votes (is the currently proposed name especially objectionable/wouldn't be acceptable in GCC) or preferences (suggestions to add to the pool)?