From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c9e8a262ca84d551 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-12-17 17:42:23 PST Path: gmd.de!xlink.net!howland.reston.ans.net!darwin.sura.net!mojo.eng.umd.edu!glue.umd.edu!djm From: djm@glue.umd.edu (David J. MacKenzie) Newsgroups: comp.unix.osf.osf1 Subject: Re: OSF/ALPHA C compiler bug Followup-To: comp.unix.osf.osf1 Date: 17 Dec 1993 19:55:41 GMT Organization: Cygnus Support Distribution: world Message-ID: References: <2et0mf$1v3@overload.lbl.gov> NNTP-Posting-Host: frosty.eng.umd.edu 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.