This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Regression due to tree loop opt / expand weirdness


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]