[Bug fortran/99506] internal compiler error: in record_reference, at cgraphbuild.c:64
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 10 22:22:45 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99506
--- Comment #6 from anlauf at gcc dot gnu.org ---
(In reply to Richard Biener from comment #4)
> I don't know fortran enough for what 'parameter' means in this context:
>
> real(double), parameter:: latt(jmax) = [(latt100(i)/100.d0, j=1,jmax)]
>
> but the middle-end sees a readonly global (TREE_STATIC) variable.
There is a possibly related issue in pr91960.
More information about the Gcc-bugs
mailing list