Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: djm@glue.umd.edu (David J. MacKenzie)
Subject: Re: OSF/ALPHA C compiler bug
Date: 17 Dec 1993 19:55:41 GMT	[thread overview]
Message-ID: <DJM.93Dec17145541@frosty.glue.umd.edu> (raw)
In-Reply-To: jin@gracie.lbl.gov's message of 17 Dec 1993 19:18:39 GMT

Use %ld and %lu to print pointers on the alpha, not %ld and %lu, which
only print the low 32 bits.  Then you get (or at least I get):

cp is not NULL, but -> 4294967296
Cp is 4294967296

Automatic variables aren't guaranteed to be initialized to anything in
particular, anyway, so there's no bug except in your little program.


  reply	other threads:[~1993-12-17 19:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-12-17 19:18 OSF/ALPHA C compiler bug Guojun Jin[ITG]
1993-12-17 19:55 ` David J. MacKenzie [this message]
1993-12-17 21:46 ` OSF/ALPHA C compiler bug (not!) Daniel S. Riley
1994-01-13 21:38 ` OSF/ALPHA C compiler bug Dennis Murphy
1994-01-13 21:44 ` Dennis Murphy
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox