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,3ef676faabcff187 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-29 03:33:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!62.2.203.231!not-for-mail From: Vinzent Hoefler Newsgroups: comp.lang.ada Subject: Re: [GNAT] Option for chasing some uninitialized variables ? Date: Tue, 29 Apr 2003 12:32:37 +0200 Organization: JeLlyFish software Message-ID: References: NNTP-Posting-Host: 62.2.203.231 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: fu-berlin.de 1051612398 12054898 62.2.203.231 (16 [175126]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:36722 Date: 2003-04-29T12:32:37+02:00 List-Id: "Gautier direct_replies_not_read" wrote: >I faintly remember that there is a debug option or pragma >that gives an out-of-range value to uninitialized variables >or record fields, when possible, so that the range check always >raises Constraint_Error when such a value is used before it has >been initialized. Can someone recall its name - if it exists ? You probably mean one of "pragma Normalize_Scalars", "pragma Initialize_Scalars" and "-gnatv" (both GNAT-specific). Vinzent.