public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4003] Fortran: fix treatment of character, value, optional dummy arguments [PR107444]
@ 2022-11-14 11:08 Harald Anlauf
0 siblings, 0 replies; only message in thread
From: Harald Anlauf @ 2022-11-14 11:08 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:04e2fd20d3d5fce2c99c856361d5f3d3ce955906
commit r13-4003-g04e2fd20d3d5fce2c99c856361d5f3d3ce955906
Author: Harald Anlauf <anlauf@gmx.de>
Date: Sun Nov 13 21:53:58 2022 +0100
Fortran: fix treatment of character, value, optional dummy arguments [PR107444]
gcc/fortran/ChangeLog:
PR fortran/107444
* trans-openmp.cc (gfc_omp_check_optional_argument): Adjust to change
of prefix of internal symbol for presence status to '.'.
Diff:
---
gcc/fortran/trans-openmp.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/fortran/trans-openmp.cc b/gcc/fortran/trans-openmp.cc
index 4bfdf85cd9b..9070c03353d 100644
--- a/gcc/fortran/trans-openmp.cc
+++ b/gcc/fortran/trans-openmp.cc
@@ -123,7 +123,7 @@ gfc_omp_check_optional_argument (tree decl, bool for_present_check)
char name[GFC_MAX_SYMBOL_LEN + 2];
tree tree_name;
- name[0] = '_';
+ name[0] = '.';
strcpy (&name[1], IDENTIFIER_POINTER (DECL_NAME (decl)));
tree_name = get_identifier (name);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-14 11:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14 11:08 [gcc r13-4003] Fortran: fix treatment of character, value, optional dummy arguments [PR107444] Harald Anlauf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).