aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-openmp.cc
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/fortran/trans-openmp.cc
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/fortran/trans-openmp.cc')
-rw-r--r--gcc/fortran/trans-openmp.cc2
1 files changed, 1 insertions, 1 deletions
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)