Regression due to tree loop opt / expand weirdness

Ulrich Weigand weigand@i1.informatik.uni-erlangen.de
Wed Oct 6 14:46:00 GMT 2004


Richard Kenner wrote:
>     > I can't imagine except that would break things when you *do*
>     > want to use "typedef void *ptr32 __attribute__((mode(SI)));".
> 
>     What do you think would break?  I assume you're talking about
>     s390x, not ia64 (as on ia64 there wouldn't be any difference).
> 
> On ia64/VMS, the default pointer size is 64 bits.  But you have to
> pass 32-bit addresses to some system calls.  Hence the need to support
> the above typedef.

This is exactly the same situation as on s390x/TPF, and this is 
exactly the case which was broken without my patch and works
*with* my patch.  (B.t.w. right now ia64/VMS does *not* allow
the above typedef as it uses the default valid_pointer_mode.)

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de



More information about the Gcc mailing list