From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91431 invoked by alias); 15 Jan 2020 16:46:46 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 91324 invoked by uid 89); 15 Jan 2020 16:46:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-20.0 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_SHORT autolearn=ham version=3.3.1 spammy=handful X-HELO: esa1.mentor.iphmx.com Received: from esa1.mentor.iphmx.com (HELO esa1.mentor.iphmx.com) (68.232.129.153) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Jan 2020 16:46:27 +0000 IronPort-SDR: 7gUV818vOX3fyHA2mLdo5gF2Q0M0Sb7Sd7x8qrVzxY+iNjI72AZegaRPJ0wX0odgyOcGmvXF+d Mdq6NJH+0gaQYN1R/1dFqzANJa2moHTQPC7LWpH0yp0mhl7IJNHQDlB5H0jG/jc1frmOv1b0Kw 8sfZM9qmxlSbYzVod5iLjM0Chim3UFrhQxgW+kC+md9xFzVxB52BuP6e4NzdVr2iEEcm0OXOtd 6dYBYaagrIBXVsEm3BVBdKN6tb7019ktzYbAAQz1QoIiP0dZD/T9+h4j9CKidg2B5TbU/VEefh agg= Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 15 Jan 2020 08:46:25 -0800 IronPort-SDR: XIOdbACFIN7eSRX9Ucdy1eHa1ycNYJs075iFciiWBwfcCMEjE3+1ZTBKK6Ailv8FYN+djvdib+ ddUcujp0tp4QvhH4D/rxxsDqWBUW+gcuDS8VWAlBwcM21sKPqfZ9xuiRgwiwGL1BRHPyRjDuAC GsikSjKfdU1u6yT6t2dfTQ21q+fWm7J8ji20XlymBZN55KjvXiIMpcrxYibdrPio0YJnNdCrHT Ap6kUHDePmnY46O1stS2tyo26aNQk4ilRMgtcFtUpIyERw1Qdkijman36p9DbgtSZF8ePWFkpr 6JY= Subject: Re: [PATCH, WWW-DOCS] Deprecate non-standard hexadecimal BOZ constants. To: Mark Eggleston , gcc-patches , fortran , Steve Kargl , References: <6e858f09-032e-87b0-176d-80df037e7c92@codethink.co.uk> From: Tobias Burnus Message-ID: <3e9b8c1c-8868-61b5-6303-310ba42fc110@codesourcery.com> Date: Wed, 15 Jan 2020 17:04:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <6e858f09-032e-87b0-176d-80df037e7c92@codethink.co.uk> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Return-Path: tobias@codesourcery.com X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00900.txt.bz2 Hi Mark, it is more than just 'X' – also B/O/Z when used as postfix ('AB'Z) are nonstandard as in general the use outside DATA and a handful of intrinsic functions. For instance,  print *, Z'ABC'  is also nonstandard and affected by -fallow-invalid-boz. (GCC < 10 silently accepted the latter.) I also come up with a gcc-10/changes.html wording; however, I am sure that my wording should be tweaked as well. See https://gcc.gnu.org/ml/gcc-patches/2020-01/msg00896.html — I additionally also modified the diagnostic and the documentation; hopefully, in a sensible way. Thanks, Tobias On 1/15/20 3:50 PM, Mark Eggleston wrote: > Add a note the the Fortran changes to the effect that non-standard BOZ > constants are deprecated. > > Is the wording OK? > > second attempt this time with attachment! > > -- > https://www.codethink.co.uk/privacy.html > > > deprecated.diff > > diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html > index 8e72bd4..3e73cea 100644 > --- a/htdocs/gcc-10/changes.html > +++ b/htdocs/gcc-10/changes.html > @@ -269,6 +269,11 @@ a work-in-progress.

> can be used to disable inline argument packing. > >
  • > + Deprecating non-standard hexadecimal BOZ constants. Hexadecimal BOZ using the > + 'X' prefix or suffix e.g. X'ABC' or 'ABC'X will only be allowed with the > + -fallow-invalid-boz option. > +
  • > +
  • > Legacy extensions: >
      >