[1/6] Fortran: Typo/unicode-o fixes
Commit Message
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 <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.
---
gcc/fortran/dump-parse-tree.cc | 2 +-
gcc/fortran/trans-openmp.cc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -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)
@@ -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)