From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) by sourceware.org (Postfix) with ESMTPS id 20FAD3858288 for ; Wed, 17 Aug 2022 17:24:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 20FAD3858288 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4M7FHX3v0pz9sSG; Wed, 17 Aug 2022 19:24:08 +0200 (CEST) From: Iain Buclaw To: gcc-patches@gcc.gnu.org Subject: [PATCH] wwwdocs: Add D language changes and caveats to gcc-12/changes.html Date: Wed, 17 Aug 2022 19:24:04 +0200 Message-Id: <20220817172404.1025025-1-ibuclaw@gdcproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4M7FHX3v0pz9sSG X-Spam-Status: No, score=-13.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2022 17:24:14 -0000 Hi, This patch belatedly adds the new features and changes to the D front-end during the GCC 12 development cycle, as well as a bullet in the caveat section for D's new bootstrapping requirements. If nothing stands out being really wrong, I'll go ahead and commit it by end of week. OK? Regards, Iain. --- htdocs/gcc-12/changes.html | 78 +++++++++++++++++++++++++++++++++++++- 1 file changed, 77 insertions(+), 1 deletion(-) diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html index ef957204..5bbad9bf 100644 --- a/htdocs/gcc-12/changes.html +++ b/htdocs/gcc-12/changes.html @@ -72,6 +72,17 @@ You may also want to check out our pool arguments. Those configurations had been broken for some time. +
  • + D: + Building and bootstrapping GDC, the D compiler, now requires a working GDC + compiler (GCC version 9.1 or later) and D runtime library, libphobos, as + the D front end is written in D. On some targets, libphobos isn't enabled + by default, but compiles and works if --enable-libphobos is + used. Other targets may require a more recent minimum version of GCC to + bootstrap. Specifics are documented for affected targets in the + manual for + installing GCC. +
  • Fortran: OpenMP code using the omp_lib.h include file can no longer be @@ -509,7 +520,72 @@ function Multiply (S1, S2 : Sign) return Sign is
  • - +

    D

    +
      +
    • New features: +
        +
      • Support for the D programming language has been updated to version + 2.100.1 of the language and run-time library. Full changelog for this + release and previous releases can be found on the + dlang.org + website. +
      • +
      • On supported targets, the __traits(compiles) expression + can now be used to determine whether a target-specific built-in is + available without error during CTFE + (PR101127). +
      • +
      • Partial support for directly importing C99 sources into a D + compilation (ImportC) + has been added to the language. A notable missing feature is support + for preprocessing C imports, which can be worked around by + preprocessing all C sources used for importing ahead of time. +
      • +
      +
    • +
    • New language options: +
        +
      • -fcheck=, enables or disables the code generation of + specific run-time contract checks. +
      • +
      • -fcheckaction=, controls the run-time behaviour on an + assert, array bounds check, or final switch contract failure. The + default is -fcheckaction=throw. +
      • +
      • -fdump-c++-spec=, dumps all compiled + extern(C++) declarations as C++ code to a file. + The supplimentary option -fdump-c++-spec-verbose turns on + emission of comments for ignored declaration in the generated C++ spec. +
      • +
      • -fextern-std=, controls which C++ standard + extern(C++) declarations are compiled to be compatible + with. The default is -fextern-std=c++17. +
      • +
      • -fpreview=, added to enable upcoming D language features + in the compiler. +
      • +
      • -frevert=, added to revert D language changes to support + older D codebases that need more time to transition. +
      • +
      • -fsave-mixins=, saves mixins expanded at compile-time to + a file. +
      • +
      +
    • +
    • Deprecated and removed features: +
        +
      • The -Wtemplates compiler switch has been removed, as it + had been superceded by -ftransition=templates, which more + accurately reports on which templates have been instantiated. +
      • +
      • The -ftransition=dip25 and + -ftransition=dip1000 compiler switches have been renamed + to -fpreview=dip25 and -fprefix=dip1000. +
      • +
      +
    • +
    +

    Fortran

      -- 2.34.1