comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: AW: GNAT compiler switches and optimization
Date: Mon, 23 Oct 2006 12:42:42 -0500
Date: 2006-10-23T12:42:42-05:00	[thread overview]
Message-ID: <q-6dnYDfw96PYqHYnZ2dnUVZ_tmdnZ2d@comcast.com> (raw)
In-Reply-To: ehisra$ie4$1@cernne03.cern.ch

>I might be wrong, but my understanding is that the memory layout is not specified
>in the standard. Can you point me to the section of the standard which specifies
>the memory layout of a multidimensional array?
  ARM 3.6.2(11) "An implementation should normally represent a
multidimensional array in row-major order, consistent with the notation
used for multidimensional array aggregates (see 4.3.3).  However, if a
Pragma Convention(Fortran, ...) applies to a multidimensional array type,
then column-major order should be used instead ..."
  It would be strange to include powerful rep spec capabilities to define
everything about layouts, but not how an array is stored.



  reply	other threads:[~2006-10-23 17:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-23 12:46 AW: GNAT compiler switches and optimization Grein, Christoph (Fa. ESG)
2006-10-23 17:06 ` Warner BRUNS
2006-10-23 17:42   ` tmoran [this message]
2006-10-23 19:14     ` Robert A Duff
2006-10-23 20:29       ` Jeffrey R. Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox