[Bug fortran/45424] F2008: Add is_contiguous intrinsic
quantheory at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Apr 19 21:12:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45424
Sean Santos <quantheory at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |quantheory at gmail dot com
--- Comment #3 from Sean Santos <quantheory at gmail dot com> 2013-04-19 21:12:06 UTC ---
A naive interpretation of the standard suggests that in the case "a)",
is_contiguous should return .true., because the standard doesn't say anything
about strides here, only about the ordering of the elements. (Of course strides
matter for "simply contiguous" things, but that's different.)
Case "b)" seems to be the same.
In case "f)", since scalars can be associated with assumed-rank entities that
have the contiguous attribute, it wouldn't make much sense to return ".false."
in this case.
More information about the Gcc-bugs
mailing list