Article View: comp.unix.programmer
Article #3667Re: gcc -O2 bug
From: Bryan Ischo
Date: Thu, 08 Aug 1996 00:00
Date: Thu, 08 Aug 1996 00:00
26 lines
1754 bytes
1754 bytes
In article <vkn3059yhu.fsf@atari.connectinc.com> bji@connectinc.com (Bryan Ischo) writes: > In article <4udd3i$90k@solutions.solon.com> seebs@solutions.solon.com > (Peter Seebach) writes: > > This is simply untrue. The programmer could have put flag's address > > in a global, and a function named printf might modify the contents. > > Oops. Forget everything else I said. This is the statement I missed which makes everything clear. Of course flag could be modified since another variable may contain a pointer to it which may be passed into printf. I just kind of missed that line of thought altogether. Duh. My apologies for my density. Best wishes, Bryan -- ------------------------------------------------------------------------ Bryan Ischo mailto:bji@connectinc.com Mountain View, CA, USA http://www.connectinc.com Linux Aficionado 1990 Honda CB-1
Technical Details
Message-ID:
<vkivat49os.fsf@atari.connectinc.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4ubnat$75u@freeside.fc.net> <danpop.839504721@news.cern.ch>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,7d30cae02ba9b089 X-Google-Attributes: gid11318c,public X-Google-Thread: 10c696,7d30cae02ba9b089 X-Google-Attributes: gid10c696,public X-Google-Thread: fc89c,7d30cae02ba9b089 X-Google-Attributes: gidfc89c,public X-Google-Thread: 1014db,7d30cae02ba9b089 X-Google-Attributes: gid1014db,public From: bji@connectinc.com (Bryan Ischo) Subject: Re: gcc -O2 bug Date: 1996/08/08 Message-ID: <vkivat49os.fsf@atari.connectinc.com> X-Deja-AN: 173030225 sender: bji@atari.connectinc.com references: <4ubnat$75u@freeside.fc.net> <danpop.839504721@news.cern.ch> organization: Connect, Inc. newsgroups: comp.unix.programmer,gnu.gcc.help,comp.os.linux.development.apps,comp.lang.c