https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56789
Harald Anlauf <anlauf at gmx dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de --- Comment #11 from Harald Anlauf <anlauf at gmx dot de> --- (In reply to paul.richard.tho...@gmail.com from comment #10) > Even if that were allowed, the standard explicitly disallows the > argument association in the testcase: See 5.3.7 of the F2008 standard. The wording has changed in F2018 DIS, 8.5.7, paragraph 1: The CONTIGUOUS attribute specifies that an assumed-shape array is contiguous, that an array pointer can only be pointer associated with a contiguous target, or that an assumed-rank dummy data object is contiguous. In my interpretation, the testcase is valid under F2018, but invalid in F2008.