public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4874] Fortran: Typo/unicode-o fixes
@ 2022-12-23 10:51 Julian Brown
0 siblings, 0 replies; only message in thread
From: Julian Brown @ 2022-12-23 10:51 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1e7d2b2d22c509abbd0a59840fae7c4ed26d273b
commit r13-4874-g1e7d2b2d22c509abbd0a59840fae7c4ed26d273b
Author: Julian Brown <julian@codesourcery.com>
Date: Mon May 23 06:19:10 2022 -0700
Fortran: Typo/unicode-o fixes
This patch fixes a minor typo in dump output and a stray unicode character
in a comment.
2022-06-01 Julian Brown <julian@codesourcery.com>
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.
Diff:
---
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 5ae72dc1cac..ae8ca6fb500 100644
--- a/gcc/fortran/dump-parse-tree.cc
+++ b/gcc/fortran/dump-parse-tree.cc
@@ -894,7 +894,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 395bcc98e00..45b136d1acb 100644
--- a/gcc/fortran/trans-openmp.cc
+++ b/gcc/fortran/trans-openmp.cc
@@ -2494,7 +2494,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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-23 10:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23 10:51 [gcc r13-4874] Fortran: Typo/unicode-o fixes Julian Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).