[Bug fortran/102369] VALUE attribute for arrays not allowed
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 16 18:50:52 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102369
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-09-16
Ever confirmed|0 |1
--- Comment #2 from anlauf at gcc dot gnu.org ---
Confirmed.
F2018: 8.5.18 VALUE attribute
C863 An entity with the VALUE attribute shall be a dummy data object. It shall
not be an assumed-size array, a coarray, or a variable with a coarray ultimate
component.
Thus assumed-shape is allowed. We need to adjust the checks.
More information about the Gcc-bugs
mailing list