[Bug fortran/105243] ICE in next_char, at fortran/io.cc:160

sgk at troutmask dot apl.washington.edu gcc-bugzilla@gcc.gnu.org
Mon May 16 22:16:51 GMT 2022


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

--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Mon, May 16, 2022 at 08:27:24PM +0000, anlauf at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105243
> 
> --- Comment #3 from anlauf at gcc dot gnu.org ---
> (In reply to kargl from comment #2)
> > This fixes the problem.  Someone that regularly use git will need to commit
> > it.
> 
> Are you sure this is the right solution?
> 

I quoted the F2018 standard constraint.

C708 An entity declared with the CLASS keyword shall be a dummy
     argument or have the ALLOCATABLE or POINTER attribute.

class(t), parameter :: y

would seem to be missing all of the three listed attributes.


More information about the Gcc-bugs mailing list