Regression due to tree loop opt / expand weirdness
Ulrich Weigand
weigand@i1.informatik.uni-erlangen.de
Wed Oct 6 17:20:00 GMT 2004
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
More information about the Gcc
mailing list