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/67806] ICE on initialization of type(character) with len null


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

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Silently accepted without declaring x :

$ cat z4b.f90
program p
   integer, pointer :: n
   type t
      character(null(n)) :: c
   end type
end

$ gfortran -g -O0 -Wall -fcheck=all -fno-frontend-optimize z4b.f90
$ a.out


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