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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,90c3c79963d78580 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-11 04:32:01 PST Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail From: Dan Nagle Newsgroups: comp.lang.ada Subject: Re: Numerical Computation and Ada95 Date: Fri, 11 May 2001 07:31:23 -0400 Organization: Purple Sage Computing Solutions, Inc. Message-ID: References: <9dc4sh$ru5$1@ulysses.noc.ntua.gr> <3AF9E3BF.D6D73BEA@linuxchip.demon.co.uk> <9dd9tb$1o56$1@ulysses.noc.ntua.gr> <3AFAF555.F534480E@lmtas.lmco.com> <3RmTMK7qwsTH@eisner.encompasserve.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: UmFuZG9tSVbEqqILotUScUlvsN57IK6bflxo0G+XLF04XXEVnLtiznCHCM/YGgpt X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 11 May 2001 11:31:39 GMT X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.sj.google.com comp.lang.ada:7386 Date: 2001-05-11T11:31:39+00:00 List-Id: Hello, Fortran pointers are more restricted than C pointers. Fortran has pointer, target and allocatable attributes. Allocatable objects are not aliased, and pointers are simply aliases for targets or other pointers. So the objects which may be aliased form a distinct subset of all objects in a procedure. If the optimizer doesn't see pointer or target, all objects are distinct. Fortran has some other "no aliasing" rules which together generally mean that the same optimizer may operate more aggressively on Fortran code than C or C++ code. I _think_ the optimizer may be nearly as aggressive compiling Ada code, at least if it sees that no 'Access is present in a procedure. (My project to learn more about Ada keeps getting delayed by work. :-( ) On 11 May 2001 06:58:21 -0500, Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) wrote: >In article <3AFAF555.F534480E@lmtas.lmco.com>, Gary Scott writes: > >Whereas I was under the impression that the Fortran standard had recently >added "pointer" constructs, the bane of optimization everywhere. -- Cheers! Dan Nagle Purple Sage Computing Solutions, Inc.