]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran : Bogus error with additional blanks in type(*) PR95829
authorMark Eggleston <markeggleston@gcc.gnu.org>
Tue, 23 Jun 2020 10:01:28 +0000 (11:01 +0100)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:15:41 +0000 (13:15 -0300)
commita93c588cb1c61fb8aaca3ce740e28bbe91012faf
tree788391e0955fefd2b130e8f30a8fdb2c138efef8
parent3fdccd4e799255ba3912583c9c23e76b01754c9d
Fortran  : Bogus error with additional blanks in type(*) PR95829

Checking for "* ) " instead of "*)" clears the bogus error.

2020-07-01  Steven G. Kargl  <kargl@gcc.gnu.org>

gcc/fortran/

PR fortran/95829
* decl.c (gfc_match_decl_type_spec): Compare with "* ) " instead
of "*)".

2020-07-01  Mark Eggleston  <markeggleston@gcc.gnu.org>

gcc/testsuite/

PR fortran/95829
* gfortran.dg/pr95829.f90: New test.
gcc/fortran/decl.c
gcc/testsuite/gfortran.dg/pr95829.f90 [new file with mode: 0644]