Message-Id: <199809281550.LAA13535@indy.delorie.com> Comments: Authenticated sender is From: "George Foot" To: "EFT.Eric Devolder" Date: Mon, 28 Sep 1998 16:48:11 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Program goes wrong when optimized under gcc 2.8 Reply-to: mert0407 AT sable DOT ox DOT ac DOT uk CC: djgpp AT delorie DOT com Precedence: bulk On 28 Sep 98 at 11:24, EFT.Eric Devolder wrote: > void process_header(long *total, long *hash) > { > struct date *now; > > getdate(now); You haven't pointed `now' at anything. Try this instead: struct date now; getdate (&now); then alter the rest of the function to use `.' instead of `->'. -- george DOT foot AT merton DOT oxford DOT ac DOT uk