Fortran: BOZ literal constants are not interoperable
authorHarald Anlauf <anlauf@gmx.de>
Mon, 20 Dec 2021 21:12:33 +0000 (22:12 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Wed, 22 Dec 2021 18:34:20 +0000 (19:34 +0100)
commitff0ad4b5e16b8828a6147ae2d5fec8068ef0778e
tree06419e6c808a52a4eb4a524ad8bd4edb5cc38252
parent5474092c9afbd76cbd457facce3757d8d2fad07b
Fortran: BOZ literal constants are not interoperable

gcc/fortran/ChangeLog:

PR fortran/103778
* check.c (is_c_interoperable): A BOZ literal constant is not
interoperable.

gcc/testsuite/ChangeLog:

PR fortran/103778
* gfortran.dg/illegal_boz_arg_3.f90: New test.
gcc/fortran/check.c
gcc/testsuite/gfortran.dg/illegal_boz_arg_3.f90 [new file with mode: 0644]