[Bug fortran/95544] ICE in gfc_can_put_var_on_stack, at fortran/trans-decl.c:494

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Thu Jun 4 18:17:20 GMT 2020


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

G. Steinmetz <gscfq@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

Related :


$ cat za1.f90
program p
   character(:), allocatable :: z
   print *, len(null(z))
   print *, len_trim(null(z))
end


$ cat za2.f90
program p
   character(:), pointer :: z
   print *, len(null(z))
   print *, len_trim(null(z))
end


$ cat zz1.f90
program p
   character(:), allocatable :: z
   z = trim(null(z))
end


More information about the Gcc-bugs mailing list