projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c67217
)
Fortran: fix treatment of character, value, optional dummy arguments [PR107444]
author
Harald Anlauf
<anlauf@gmx.de>
Sun, 13 Nov 2022 20:53:58 +0000
(21:53 +0100)
committer
Harald Anlauf
<anlauf@gmx.de>
Mon, 14 Nov 2022 11:07:37 +0000
(12:07 +0100)
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 '.'.
gcc/fortran/trans-openmp.cc
patch
|
blob
|
history
diff --git
a/gcc/fortran/trans-openmp.cc
b/gcc/fortran/trans-openmp.cc
index
4bfdf85
..
9070c03
100644
(file)
--- 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);