[Bug fortran/84432] [F08] Detect illegal component initialization in pdt_27.f03

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 24 17:51:00 GMT 2018


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

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu.org

--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Just to clarify.  Are you saying that this: invalid

   type t(a)
      integer, len :: a
      character(len=a) :: c
   end type

should be: valid

   type t(a)
      integer, len :: a = 2
      character(len=a) :: c
   end type

a is a parameter and c is a component.

?

Some of the I/O touches on pr84143.


More information about the Gcc-bugs mailing list