[Committed] PR fortran/87994 -- Inquiry parameter as data constant
Steve Kargl
sgk@troutmask.apl.washington.edu
Sun Dec 16 03:35:00 GMT 2018
I've committed the attached after testing on i586-*-freebsd
and x86_64-*-freebsd. It removes an ICE by allowing the
inquiry parametes of len and kind in data statements as
data constants.
2018-12-15 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/87944
* decl.c (match_data_constant): Allow inquiry parameter as data
constant in data statement.
2018-12-15 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/87944
* gfortran.dg/pr87994_1.f90: New test.
* gfortran.dg/pr87994_2.f90: Ditto.
* gfortran.dg/pr87994_3.f90: Ditto.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr87994.diff
Type: text/x-diff
Size: 1933 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181216/b1b97201/attachment.bin>
More information about the Gcc-patches
mailing list