Warning for unadorned 0 in varargs lists?

Falk Hueffner hueffner@informatik.uni-tuebingen.de
Mon Aug 23 15:26:00 GMT 2004


Segher Boessenkool <segher@kernel.crashing.org> writes:

>> Are there really any targets where passing an unadorned zero doesn't
>> work?
>
> Yes; any target where ints are 32 bit, and pointers are 64 bit
> (i.e., most 64-bit targets).

Well, usually the ABIs specify zero padding to 64 bits on such
platforms, which would make this work. At least Alpha does, and I
thought it was similar on other platforms...

-- 
	Falk



More information about the Gcc mailing list