PR 91800 - reject Hollerith constants as type initializer.
authorSteve Kargl <kargl@gcc.gnu.org>
Mon, 20 Apr 2020 11:21:38 +0000 (13:21 +0200)
committerThomas König <tkoenig@gcc.gnu.org>
Mon, 20 Apr 2020 11:21:38 +0000 (13:21 +0200)
commit38acc41d6d761b635123eefa93743b9139debbae
tree9a7ea2c6e1a9b415250b040b5bd0573b4613df55
parent85d8c05a02bf7d1b256f806582a11e3fd8970a32
PR 91800 - reject Hollerith constants as type initializer.

2020-04-20  Steve Kargl  <kargl@gcc.gnu.org>
Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/91800
* decl.c (variable_decl): Reject Hollerith constants as type
initializer.

2020-04-20  Steve Kargl  <kargl@gcc.gnu.org>
Thomas Koenig  <tkoenig@gcc.gnu.org>

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