[Bug fortran/83318] Illegal program causes internal compiler error with tags gfc_trans_allocate, at fortran/trans-stmt.c:5646 and Aborted (program f951)

sgk at troutmask dot apl.washington.edu gcc-bugzilla@gcc.gnu.org
Fri Dec 8 01:25:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83318

--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
I don't know how I missed F2008:C631

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.

This is going to make the fix real ugly.  Each alloc-object needs
to be checked that it is assumed length.


More information about the Gcc-bugs mailing list