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 18:57:05 +0200 (CEST)
- Subject: Re: Regression due to tree loop opt / expand weirdness
Richard Kenner wrote:
>
> First of all, the above change is provably a no-op on ia64 since
> the valid_pointer_mode implementation on ia64 is the default one,
> which is exactly (mode != Pmode && mode != ptr_mode).
>
> Please read what I wrote. On some ia64 systems (e.g., VMS), Pmode and
> ptr_mode are both DImode but you need to support 32-bit pointers. On
> those ia64 systems, target.valid_pointer_mode is overridden to allow both
> SImode and DImode.
I could not find any such ia64 system in current GCC CVS, are you talking
about an out-of-tree port?
In any case, as I said, s390x/TPF is in exactly this situation (Pmode ==
ptr_mode == DImode, valid_pointer_mode overridden to allow both SImode
and DImode); and this case is exactly the one that my patch fixes.
Bye,
Ulrich
--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de