From patchwork Sun Nov 21 10:47:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Trofimovich X-Patchwork-Id: 47972 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 15FE4385843F for ; Sun, 21 Nov 2021 10:48:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15FE4385843F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1637491705; bh=TfV/sFjm502Iq64cOzocTLQ+6DeV64p62cvHtjAITWY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=WWWqYOj+KZlWnCg3Ylz8tiA5rE8SXkl9BcaBVynjwG/FbygVzhYqD/apTzDix1OGr h5BuFe9HRFTWb/CniSFlhWt7nwgjjLP2EWzN9u5eAHUaJxwsXlYdZ5uPNgWteYPiTH R/BqDbg9ytF+IUNGDq0V3z21kzn/fqSlb0CzCt9U= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id AAE0A3858411 for ; Sun, 21 Nov 2021 10:47:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AAE0A3858411 Received: by mail-wr1-x434.google.com with SMTP id d24so26998463wra.0 for ; Sun, 21 Nov 2021 02:47:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TfV/sFjm502Iq64cOzocTLQ+6DeV64p62cvHtjAITWY=; b=bLCiKGJJr06JVxjI+mZorhOwcfStxKSlvbgzXUX7+jVoSMwbxwNsXjnB5ieCHF/cJi HWVztHmeNfWrk9+C3HvpQFHNMNU3H1/2AhzmOgNCSxGs6F3qGu/q7dUmoxNdkkcRJE2x LeuafvaJOcN79FQ3pivY2gecwBY9wW9OEtfCljeLdT0KQbEfdx3NMkAu04bDSLsFceCU YKAlUOvn+zlLe70rlx8yYxmhiGaHmy+n5PEIUOEU0NPCgOtBXALLLR5307ZRzKa/FHWY j6adyiROAy7WFyS0mMNOL3Bc6zfKzq4zi1QX34MZtOeg91gQjvgBwQiUluj0/F4JHp9e Ud6Q== X-Gm-Message-State: AOAM533+Bs6gK1fq55jcd1uayexfveLk1zBV+JskiUpuRHyOzN1FUgaV 2QNJrMMniF/BiexTizkgPBDWG0pXadA= X-Google-Smtp-Source: ABdhPJxO75vzmplgpiuZchAhlYUggINzzjKJbwTCgBoK/fk9CO6IH56BkKL9pnM90WvWnsG+vdr15A== X-Received: by 2002:adf:fb86:: with SMTP id a6mr26056482wrr.35.1637491674551; Sun, 21 Nov 2021 02:47:54 -0800 (PST) Received: from nz.home (host81-147-8-123.range81-147.btcentralplus.com. [81.147.8.123]) by smtp.gmail.com with ESMTPSA id ay21sm18256176wmb.7.2021.11.21.02.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Nov 2021 02:47:54 -0800 (PST) Received: by nz.home (Postfix, from userid 1000) id E8607101F8FB7; Sun, 21 Nov 2021 10:47:52 +0000 (GMT) To: gcc-patches@gcc.gnu.org Subject: [PATCH] Fortran manual: fix invalid BOZ 'ABC'X example to be X'ABC'. Date: Sun, 21 Nov 2021 10:47:51 +0000 Message-Id: <20211121104751.3190936-1-slyich@gmail.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-Patchwork-Original-From: Sergei Trofimovich via Gcc-patches From: Sergei Trofimovich Reply-To: Sergei Trofimovich Cc: Sergei Trofimovich Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" From: Sergei Trofimovich gcc/fortran/ * gfortran.texi (BOZ literal constants): fix invalid BOZ 'ABC'X example to be X'ABC'. --- gcc/fortran/gfortran.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index 326470964b0..f01a49c47cc 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -1465,7 +1465,7 @@ dependent. Gfortran interprets the sign bit as a user would expect. As a deprecated extension, GNU Fortran allows hexadecimal BOZ literal constants to be specified using the @code{X} prefix. That the BOZ literal constant can also be specified by adding a suffix to the string, for -example, @code{Z'ABC'} and @code{'ABC'X} are equivalent. Additionally, +example, @code{Z'ABC'} and @code{X'ABC'} are equivalent. Additionally, as extension, BOZ literals are permitted in some contexts outside of @code{DATA} and the intrinsic functions listed in the Fortran standard. Use @option{-fallow-invalid-boz} to enable the extension.