[PATCH] PR fortran/82934,83318 -- Enforce F2008:C631
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Dec 9 01:13:00 GMT 2017
The attached patch enforces F2008:C631, which of course is
/* F2008:C631 (R626) A type-param-value in a type-spec shall be an
asterisk if and only if each allocate-object is a dummy argument
for which the corresponding type parameter is assumed. */
Regression tested on x86_64-*-freebsd.
2017-12-08 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/82934
PR fortran/83318
* match.c (gfc_match_allocate): Enforce F2008:C631.
2017-12-08 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/82934
PR fortran/83318
* gfortran.dg/allocate_assumed_charlen_2.f90: new test.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c631.diff
Type: text/x-diff
Size: 3106 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20171209/9b55ff22/attachment.bin>
More information about the Fortran
mailing list