Patches for HP-UX support on IA64

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Fri Jan 12 03:22:00 GMT 2001


    Does that mean that 

	(void *)(((long long)some_int & -32) + offset)

    does not get ptr_extended?  We'll have DImode incoming, and 
    Pmode == DImode.  I suppose that it's your own damn fault
    for playing loose with casts, but...

No, I think this will be fine because void * is 32 bits, so the conversion
to it will truncate and *thne* it will get the strange extension and that's
precisely correct because that's how addresses are to be converted.

But I don't fully understand your example.


More information about the Gcc-patches mailing list