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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e723b158fb4ad12e X-Google-Attributes: gid103376,public From: je@bton.ac.uk (John English) Subject: Re: Initialized global data Date: 1998/05/06 Message-ID: <6ipg52$f5a@saturn.brighton.ac.uk>#1/1 X-Deja-AN: 350791230 References: <6iosc2$3mp@bgtnsc01.worldnet.att.net> Organization: University of Brighton Newsgroups: comp.lang.ada Date: 1998-05-06T00:00:00+00:00 List-Id: Kevin Wells (wellsk@worldnet.att.net) wrote: : 1. Is it normal for the compiler to generate code that sets the value in : memory (that gets executed when the runtime system is initialized)? : 2. Is there a way to get around this? Does the same thing happen if you declare constants rather than variables? Certainly I know of a C compiler that used to generate code to initialise variables but just stored an image of constant values... ----------------------------------------------------------------- John English | mailto:je@brighton.ac.uk Senior Lecturer | http://www.it.bton.ac.uk/staff/je Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS ** University of Brighton | -- see http://burks.bton.ac.uk -----------------------------------------------------------------