re PR fortran/54072 (BOZ with -std=f2008: wrongly accepted to TRANSFER/ABS/...; two...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 23 Jul 2019 23:02:07 +0000 (23:02 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Tue, 23 Jul 2019 23:02:07 +0000 (23:02 +0000)
commitc078c9f4478d6d27dd8d2b7f8a6f8e9a5849dc47
treec72194e001bd05a0bba95d8d5aff368862f1f588
parent8dc63166e0b859546ba53093c5fc6c09925210dd
re PR fortran/54072 (BOZ with -std=f2008: wrongly accepted to TRANSFER/ABS/...; two BOZ not rejected for IOR/IEOR/IAND)

2019-07-23  Steven G. Kargl  <kargl@gcc.gnu.org>

 PR fortran/54072
 * check.c (gfc_invalid_boz): Fix comment.
 (illegal_boz_arg): New function.
 (gfc_check_transfer): Use to arguments.
 (gfc_check_storage_size): Ditto.
 (gfc_check_complex): Remove leftover comment from BOZ patch.
 * primary.c (match_boz_constant): Remove leftover comment.

2019-07-23  Steven G. Kargl  <kargl@gcc.gnu.org>

 PR fortran/54072
 * gfortran.dg/illegal_boz_arg_1.f90: New tests.

From-SVN: r273748
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/illegal_boz_arg_1.f90 [new file with mode: 0644]