From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7767a311e01e1cd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 23 Oct 2006 12:42:42 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: AW: GNAT compiler switches and optimization References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Mon, 23 Oct 2006 12:42:42 -0500 NNTP-Posting-Host: 67.164.83.70 X-Trace: sv3-Xe2Fm7Jgyu7jK/6ASoAdfy2Mjsack4K7mQNdmKojA+f5qyetJ2nT+4DHBx2/e+3a5nleH4LRNqEc9MV!RGT8a/4bccgWBESjn43GCMofI7Cnul3Em+s8C0bcaxhGYotiA/xRwa2qwZS7cQVcxrQW+2ukvuoh!6tDoWH/LAiJVIA== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:7170 Date: 2006-10-23T12:42:42-05:00 List-Id: >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.