From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 6EA08383D82E; Wed, 1 Jun 2022 18:39:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6EA08383D82E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.91,269,1647331200"; d="scan'208";a="76666079" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 01 Jun 2022 10:39:32 -0800 IronPort-SDR: +/tlbFnTUfxzHZuF0+COsxKlNm44DxSQcxcOO4IjmL7X3UImW8dqbk6BTJIfHZia4gYopxewQc O3fRBZqvVE4LroEIKzjQCblHUw4OdWo0MPtBVLYDWIp/oyWo8+D2AvPmivIlPzLMi5xOs8vdvF sDgicVXoG6w+eX+y3oaPpYdRNhfbyuZeKMasabM8q4LL4bgKF3POoCd2A1jpdNApO4PTsCzXEu 8JXiQj6j4Xs8DmVHW6eL5R/z2VmkipeVF4Z10numMQmS++/CUSYLPt4+e8DOFJnYymLTRLMTc0 ryI= From: Julian Brown To: CC: , Tobias Burnus , Jakub Jelinek Subject: [PATCH 1/6] Fortran: Typo/unicode-o fixes Date: Wed, 1 Jun 2022 11:39:19 -0700 Message-ID: X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-05.mgc.mentorg.com (139.181.222.5) To svr-ies-mbx-11.mgc.mentorg.com (139.181.222.11) X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, 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: fortran@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fortran mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2022 18:39:34 -0000 This patch fixes a minor typo in dump output and a stray unicode character in a comment. This one probably counts as obvious. 2022-06-01 Julian Brown gcc/fortran/ * dump-parse-tree.cc (show_attr): Fix OMP-UDR-ARTIFICIAL-VAR typo. * trans-openmp.cc (gfc_trans_omp_array_section): Replace stray unicode m-dash character with hyphen. --- gcc/fortran/dump-parse-tree.cc | 2 +- gcc/fortran/trans-openmp.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/fortran/dump-parse-tree.cc b/gcc/fortran/dump-parse-tree.cc index 3112caec053..f7bf91370a5 100644 --- a/gcc/fortran/dump-parse-tree.cc +++ b/gcc/fortran/dump-parse-tree.cc @@ -893,7 +893,7 @@ show_attr (symbol_attribute *attr, const char * module) if (attr->pdt_string) fputs (" PDT-STRING", dumpfile); if (attr->omp_udr_artificial_var) - fputs (" OMP-UDT-ARTIFICIAL-VAR", dumpfile); + fputs (" OMP-UDR-ARTIFICIAL-VAR", dumpfile); if (attr->omp_declare_target) fputs (" OMP-DECLARE-TARGET", dumpfile); if (attr->omp_declare_target_link) diff --git a/gcc/fortran/trans-openmp.cc b/gcc/fortran/trans-openmp.cc index 8c6f6a250de..9ca019b9535 100644 --- a/gcc/fortran/trans-openmp.cc +++ b/gcc/fortran/trans-openmp.cc @@ -2440,7 +2440,7 @@ gfc_trans_omp_array_section (stmtblock_t *block, gfc_omp_namelist *n, = gfc_conv_descriptor_data_get (decl); /* This purposely does not include GOMP_MAP_ALWAYS_POINTER. The extra cast prevents gimplify.cc from recognising it as being part of the - struct – and adding an 'alloc: for the 'desc.data' pointer, which + struct - and adding an 'alloc: for the 'desc.data' pointer, which would break as the 'desc' (the descriptor) is also mapped (see node4 above). */ if (ptr_kind == GOMP_MAP_ATTACH_DETACH) -- 2.29.2