This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/78053] [OOP] SELECT TYPE on CLASS(*) component for deferred length char arrays ICEs for -O > 0


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

--- Comment #3 from vehre at gcc dot gnu.org ---
(In reply to Richard Biener from comment #2)
> The ICE happens because the FE introduces a type that ends up not being
> gimplified via gimplify-type-sizes:
> 
>                   character(kind=1)[0:][1:.__tmp_CHARACTER_0_1] * D.3481;
> 
> The reason is a missing DECL_EXPR for the variable-size type.

Thanks for the crucial information. I might have been searching this for days.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]