From 1e7d2b2d22c509abbd0a59840fae7c4ed26d273b Mon Sep 17 00:00:00 2001 From: Julian Brown Date: Mon, 23 May 2022 06:19:10 -0700 Subject: 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 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/trans-openmp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/fortran/trans-openmp.cc') 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) -- cgit v1.1