aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJulian Brown <julian@codesourcery.com>2022-05-23 06:19:10 -0700
committerJulian Brown <julian@codesourcery.com>2022-12-23 10:50:33 +0000
commit1e7d2b2d22c509abbd0a59840fae7c4ed26d273b (patch)
treeaf572fa155533e10914db9e679b80d9018ea9b6e /gcc
parent0b2c1369d035e92847cca81fd9f7b4e9ab9da710 (diff)
downloadgcc-1e7d2b2d22c509abbd0a59840fae7c4ed26d273b.zip
gcc-1e7d2b2d22c509abbd0a59840fae7c4ed26d273b.tar.gz
gcc-1e7d2b2d22c509abbd0a59840fae7c4ed26d273b.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/dump-parse-tree.cc2
-rw-r--r--gcc/fortran/trans-openmp.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/dump-parse-tree.cc b/gcc/fortran/dump-parse-tree.cc
index 5ae72dc..ae8ca6f 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 395bcc9..45b136d 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)