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!news2.google.com!news.germany.com!news.teledata-fn.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: GNAT compiler switches and optimization From: Georg Bauhaus In-Reply-To: References: <1161341264.471057.252750@h48g2000cwc.googlegroups.com> <9Qb_g.111857$aJ.65708@attbi_s21> <434o04-7g7.ln1@newserver.thecreems.com> <4539ce34$1_2@news.bluewin.ch> <453A532F.2070709@obry.net> <9kfq04-sgm.ln1@newserver.thecreems.com> <5vgs04-64f.ln1@newserver.thecreems.com> <453bc74e$0$19614$426a74cc@news.free.fr> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: # Message-Id: <1161611520.6582.4.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Date: Mon, 23 Oct 2006 15:52:00 +0200 NNTP-Posting-Date: 23 Oct 2006 15:44:26 CEST NNTP-Posting-Host: 6f5cb1eb.newsspool3.arcor-online.net X-Trace: DXC=hAeKM6ZZL;SmG86`U=_nC_McF=Q^Z^V3X4Fo<]lROoRQgUcjd<3m<;R<4D49>d2bk^UUng9_FXZ=S>:=P9Ihe`BXFThWHIIf@DSA14d]]KebZ[ X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:7161 Date: 2006-10-23T15:44:26+02:00 List-Id: On Mon, 2006-10-23 at 14:40 +0200, Warner BRUNS wrote: > A problem with Ada is that the memory layout of multidimensional arrays > is not specified in the standard. If you want to have the same memory > layout for all Ada compilers, you have to specify that a multimensional > array should follow the convention of a foreign language, eg. Fortran. Will a memory layout cast in source really help with e.g. all Ada X Fortran combinations of compilers and libraries? It might disallow "knowledgeable" compilers to choose a layout that suits the current setup, I'd think, and require touching the sources. -- Georg