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


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~


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