[Bug fortran/89344] uncaught programmer error: polymorphic variable is INTENT(IN) but assigned to without error
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 13 21:59:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89344
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
CC| |kargl at gcc dot gnu.org
--- Comment #2 from kargl at gcc dot gnu.org ---
My version of gfortran gives
% gfcx -c a.f90
a.f90:8:35:
8 | type is (integer); value=10
| 1
Error: Dummy argument 'value' with INTENT(IN) in variable definition context
(assignment) at (1)
a.f90:9:35:
9 | type is (real); value=10.20
| 1
Error: Dummy argument 'value' with INTENT(IN) in variable definition context
(assignment) at (1)
More information about the Gcc-bugs
mailing list