[Bug fortran/25095] Disallowed intrinsic in initialization statement
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Aug 26 17:00:40 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25095
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
Severity|normal |enhancement
Keywords|accepts-invalid |diagnostic
--- Comment #9 from anlauf at gcc dot gnu.org ---
Intel will fix their compiler to accept the code:
https://community.intel.com/t5/Intel-Fortran-Compiler/Data-implied-do-rejected-for-non-trivial-subscript-expression/m-p/1517334#M167869
The code in comment#0 is valid since at least F2008, maybe F2003, and only
clearly invalid in F95.
I suggest to close this PR, possibly as WONTFIX, unless someone really wants
to implement a (IMHO) warning of little practical importance as of today.
More information about the Gcc-bugs
mailing list