]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: [PDT] KIND and LEN type parameters are mutually exclusive
authorHarald Anlauf <anlauf@gmx.de>
Tue, 26 Oct 2021 20:14:19 +0000 (22:14 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Tue, 26 Oct 2021 20:14:19 +0000 (22:14 +0200)
commit662f64a1f9e2de65982e4d895b3afe72cbf581ba
treea220806d84b73475e592ddbabebf3282ceac69c2
parent8c59f4118357789cfa8df2cf0d3ecb61be7e9041
Fortran: [PDT] KIND and LEN type parameters are mutually exclusive

gcc/fortran/ChangeLog:

PR fortran/102956
* symbol.c (gfc_check_conflict): Add conflict check for PDT KIND
and LEN type parameters.

gcc/testsuite/ChangeLog:

PR fortran/102956
* gfortran.dg/pdt_32.f03: New test.
gcc/fortran/symbol.c
gcc/testsuite/gfortran.dg/pdt_32.f03 [new file with mode: 0644]