diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2020-11-06 08:26:51 +0100 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2020-11-06 08:26:51 +0100 |
commit | c283a711c850efaab4fe3bca5ef7200eb854bba1 (patch) | |
tree | 3eaaf61088d215937aa958d505997e2ab10f59b3 /gcc/c/c-parser.c | |
parent | 32ee472864ada44ef05b2a3b087b8ce413bee282 (diff) | |
download | gcc-c283a711c850efaab4fe3bca5ef7200eb854bba1.zip gcc-c283a711c850efaab4fe3bca5ef7200eb854bba1.tar.gz gcc-c283a711c850efaab4fe3bca5ef7200eb854bba1.tar.bz2 |
Fortran: Fix type-decl for PDT / wrong-code pdt_14.f03 issue [PR97652]
Parameterized derived types are handled in a special way and start with 'Pdt'.
If the 'P' is not uppercase, gfc_get_derived_type (which calls
gfc_get_module_backend_decl) does not find the existing declaration and
builds a new type. The middle end then sees those types as being different
and nonalising, creating an endless loop for pdt_14.f03.
gcc/fortran/ChangeLog:
PR fortran/97652
* module.c (mio_symbol): Fix symbol name for pdt_type.
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions