delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/04/18/22:01:05

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
NNTP-Posting-Date: Wed, 18 Apr 2007 20:45:54 -0500
From: "Alexei A. Frounze" <alexfru AT chat DOT ru>
Newsgroups: comp.os.msdos.djgpp
References: <LbadnVsa3_H-ornbnZ2dnUVZ_sudnZ2d AT comcast DOT com> <200704181529 DOT l3IFT3UV004286 AT localhost DOT localdomain>
Subject: Re: gcc bug?
Date: Wed, 18 Apr 2007 18:42:27 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
Message-ID: <e5ydncgDqNRPVLvbnZ2dnUVZ_uSgnZ2d@comcast.com>
Lines: 10
NNTP-Posting-Host: 67.170.72.236
X-Trace: sv3-GEvNBgPA8i5lhjMtzVRdN2zIXykHcpEO/gBPYZjelyR7CcMn2N5LipQ/IcSTXxJ96bazCddnQ6EY/LF!XndQJ9xvWndDwMwMvclYggkUCCPP7Sjo6EERgL3jtA9G289i1DVmWxjIzycYpDRPMKby7ai+hlJF!TmiUubOYRkX7SnXLOz0jmJL4tUM3XQ==
X-Complaints-To: abuse AT comcast DOT net
X-DMCA-Complaints-To: dmca AT comcast DOT net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.34
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

DJ Delorie wrote:
> Part of the problem may be that your volatile variable is on the
> stack, rather than being a global or static variable.  You've also
> defined it as "pointer to volatile T" not "volatile pointer to T".

But from where did gcc get the idea of the variable (to which the pointer 
points, at address 0) being zero?

Alex

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019