This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Regression due to tree loop opt / expand weirdness
- From: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: weigand at i1 dot informatik dot uni-erlangen dot de, gcc at gcc dot gnu dot org
- Date: Wed, 6 Oct 2004 15:54:30 +0200 (CEST)
- Subject: 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