[Bug fortran/50410] [4.9/5/6/7 Regression] ICE in record_reference

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Wed May 4 15:03:00 GMT 2016


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

--- Comment #24 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
And an exotic case :

$ cat z5.f90
module m
   real, target :: a[*]
   real, pointer :: z => a
end

$ gfortran-6 -fcoarray=lib -c z5.f90
f951: internal compiler error: in record_reference, at cgraphbuild.c:64



$ cat z6.f90
program p
   real, target :: a[*]
   real, pointer :: z => a
end

$ gfortran-6 -fcoarray=lib -finit-local-zero -c z6.f90
internal compiler error: in fold_convert_loc, at fold-const.c:2256


More information about the Gcc-bugs mailing list