From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id EB77A3858D1E for ; Thu, 18 Aug 2022 07:44:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EB77A3858D1E Received: by mail-ed1-x52d.google.com with SMTP id t5so815372edc.11 for ; Thu, 18 Aug 2022 00:44:03 -0700 (PDT) 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; bh=0B/b37sgqMoZmdpt1pBArCc7MTJ03hkSeQ0PT6AcX+0=; b=Rf7AcI6+eqkjY7YcbZ4p/KbKFEd3mQDfs1q3N2f42DHfmzJGxrlZ7vwfmjQaZumjqL 54adkEph1iVF1pR70I+fMBC4DHNyDGnV0JHIblEYInXWq+GBXVwtMaPwRucvMAG8Jj0r A2+4uQ/J9MdSz8wtQlN/AEAyMV/CqobF60qqO2KQhhoO7e8YU+w4qXRp550H9aBZ6xdT WAm5BRwzZy6EJ++F+Ye89AzLj8Juqb1IfRFWaESlAP97Yt2D9Sb6zg4bcGU73z3C8J3R hKPO0mlyE5aMXY+4AVj6N4AcPkfzNHWuCr5MJ1tgEKZ1s5RJr1I0GyW+zOocp9oI58gp +24A== X-Gm-Message-State: ACgBeo10k+ZKdhXQGla7q+kbGsLQa8+r9SdqnqK7xvDKdvPXe4PLtu1N rkEwmIv6jj96Oi9Husr6rfdtAJsfV8mlBA8v2BQ= X-Google-Smtp-Source: AA6agR4Rg8+DOSXU2MHj9OF2a1B0cLXjIyG6fGpdzNf9M0JHa7ngxUrs5dGxj+8kl0OweOOKasGn5zkWKogVB0ZAkcc= X-Received: by 2002:a05:6402:550c:b0:443:7d15:d57f with SMTP id fi12-20020a056402550c00b004437d15d57fmr1288422edb.147.1660808642575; Thu, 18 Aug 2022 00:44:02 -0700 (PDT) MIME-Version: 1.0 References: <20220817172404.1025025-1-ibuclaw@gdcproject.org> In-Reply-To: <20220817172404.1025025-1-ibuclaw@gdcproject.org> From: Richard Biener Date: Thu, 18 Aug 2022 09:43:49 +0200 Message-ID: Subject: Re: [PATCH] wwwdocs: Add D language changes and caveats to gcc-12/changes.html To: Iain Buclaw Cc: GCC Patches Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, 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: Thu, 18 Aug 2022 07:44:05 -0000 On Wed, Aug 17, 2022 at 7:24 PM Iain Buclaw via Gcc-patches wrote: > > 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? LGTM > 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 >