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,c840deaa6965e67a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-28 03:02:03 PST Path: swrinde!howland.reston.ans.net!agate!newsxfer.itd.umich.edu!zip.eecs.umich.edu!panix!cmcl2!thecourier.cims.nyu.edu!thecourier.cims.nyu.edu!nobody From: dewar@cs.nyu.edu (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: Memory overwrite? Date: 28 Jan 1995 00:54:57 -0500 Organization: Courant Institute of Mathematical Sciences Message-ID: <3gcm7h$iu@gnat.cs.nyu.edu> References: <3g86nm$mj3@miranda.gmrc.gecm.com> NNTP-Posting-Host: gnat.cs.nyu.edu Date: 1995-01-28T00:54:57-05:00 List-Id: "Does this imply there isn't much optimization in GNAT yet" If you write C level code, then you will get exactly the same level of optimization you would from C. If you write code full of tagged types, pointers to unconstrained arrays, slices, aggregates etc. then of course you can't really compare the generated code with C. There are many improvements we can make to the code quality for these higher level Ada constructs, and we are working away on them :-) I don't know why you didn't get the warning about an uninitialized variable, I have certainly see n this working in some cases. Perhaps Richard Kenner can explain this.