This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/83318] Illegal program causes internal compiler error with tags gfc_trans_allocate, at fortran/trans-stmt.c:5646 and Aborted (program f951)
- From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 08 Dec 2017 01:25:03 +0000
- Subject: [Bug fortran/83318] Illegal program causes internal compiler error with tags gfc_trans_allocate, at fortran/trans-stmt.c:5646 and Aborted (program f951)
- Auto-submitted: auto-generated
- References: <bug-83318-4@http.gcc.gnu.org/bugzilla/>
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.