Regression due to tree loop opt / expand weirdness
Richard Henderson
rth@redhat.com
Sun Oct 3 22:31:00 GMT 2004
On Sun, Oct 03, 2004 at 09:40:12PM +0200, Ulrich Weigand wrote:
> Richard, I appears you've added the valid_pointer_mode check to
> expand_expr_addr_expr -- could you elaborate how the back-end is
> supposed to handle this?
The reason to allow non-Pmode is that otherwise ilp32 on 64-bit targets
breaks. That's the narrowest condition I could find that keeps ia64-hpux
working. Computing symbol_ref in ptr_mode and not Pmode is not a new
thing, it's been done for quite some time.
As for why the tree loop optimizer is playing such silly narrowing games
with pointers, ask Zdenek. I've already expressed my opinion that it's
wrong, but it has been an uphill fight trying to convince him.
r~
More information about the Gcc
mailing list