decl.c (match_byte_typespec): New function.
authorSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 1 Nov 2019 16:59:06 +0000 (16:59 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Fri, 1 Nov 2019 16:59:06 +0000 (16:59 +0000)
commit2028ce454f4d9424aaf05c27b20f13ea52748caf
treebaa3c86f200d00f42e71b57b4c79964df4701693
parentc7e3443332f8c97305d401e1a35cd65a15ada235
decl.c (match_byte_typespec): New function.

2019-11-01  Steven G. Kargl  <kargl@gcc.gnu.org>

* decl.c (match_byte_typespec): New function.  Match BYTE type-spec.
(gfc_match_decl_type_spec): Use it.

2019-11-01  Steven G. Kargl  <kargl@gcc.gnu.org>

* gfortran.dg/byte_3.f: New test.
* gfortran.dg/byte_4.f90: Ditto.

From-SVN: r277715
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/byte_3.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/byte_4.f90 [new file with mode: 0644]