http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45424



janus at gcc dot gnu.org changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |janus at gcc dot gnu.org

            Summary|F2008: Add is_contiguous    |[F2008] Add IS_CONTIGUOUS

                   |intrinsic                   |intrinsic



--- Comment #4 from janus at gcc dot gnu.org 2013-04-20 17:41:22 UTC ---

(In reply to comment #1)

> d) The gfc_is_simply_contiguous function needs to be refined and extended - 
> and

> a "gfc_is_simply_noncontiguous" has to be added.



Another application for 'gfc_is_simply_noncontiguous' would be to reject

invalid code like



  integer, dimension(1:5,1:5), target :: zzz

  type(c_ptr) :: ptr

  ptr = c_loc (zzz(4:,4:))



cf. http://gcc.gnu.org/ml/fortran/2013-04/msg00181.html and follow-ups.

Reply via email to