Subject: Re: Possible ILP32 on LP64 host compiler (irritating) bug
To: Robert Elz <kre@munnari.OZ.AU>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-toolchain
Date: 11/06/2001 08:14:07
On Tue, Nov 06, 2001 at 09:51:26PM +0700, Robert Elz wrote:

 > That is, given
 > 
 > 	u_long var;
 > 
 > and the code (fragment)
 > 
 > 	var & 0xFF000000
 > 
 > (the value of the const doesn't matter, though having the 0x80000000 bit set
 > might) the current toolchain, when compiling for an i386 target on an alpha
 > host, generates warnings about extra bits being set to 0 (and warnings abort
 > the compile by default of course).

Note it's actually lint that is complaining .. alpha->i386 cross-lint
is something I didn't try, so I probably missed some additional host
dependency.

I'll try and take a look soon.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>