[Bug fortran/77325] ICE in gimplify_var_or_parm_decl, at gimplify.c:1933
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Aug 22 18:04:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77325
--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Slightly simplified, indicating an uninitialized variable :
$ cat z3.f90
program p
character(1), parameter :: c(3) = ['a', 'b', 'c']
character(:), allocatable :: z(:)
z = c(1)
print *, z
end
$ gfortran-7-20160821 -g -O0 -Wall -fcheck=all -c z3.f90
z3.f90:3:0:
character(:), allocatable :: z(:)
Warning: '.z' may be used uninitialized in this function
[-Wmaybe-uninitialized]
More information about the Gcc-bugs
mailing list