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 <jul...@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(-) 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