This is the mail archive of the gcc-patches@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]

Re: Patch to rtx_varies_p to improve pic code on PA


Forwarded message:
>From dave Wed Mar 14 14:30:54 EST 2001
Subject: Re: Patch to rtx_varies_p to improve pic code on PA
To: alan@linuxcare.com.au (Alan Modra)
Date: Wed, 14 Mar 2001 14:30:54 -0500 (EST)
From: "John David Anglin" <dave@hiauly1>
In-Reply-To: <Pine.LNX.4.21.0103141616260.27636-100000@front.linuxcare.com.au> from "Alan Modra" at Mar 14, 2001 04:19:45 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1318      

> Your patch won't try to eliminate the high part of references to 
> _different_ symbols, will it?  Wouldn't work if it did, as the linker is
> free to scramble the .got.

Test results with the patch are posted for hpux 10.20 here:
<http://gcc.gnu.org/ml/gcc-testresults/2001-03/msg00189.html>.  The only
differences that remain between pic and non-pic are two failures of
memcpy-bi.c at -O3.  These fail with the error message:

Executing on host: /xxx/gnu/gcc-3.0/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.0/objdir/gcc/ /xxx/gnu/gcc-3.0/gcc/testsuite/gcc.c-torture/execute/memcpy-bi.c  -w  -O3 -fomit-frame-pointer   -lm   -fPIC -o /xxx/gnu/gcc-3.0/objdir/gcc/testsuite/memcpy-bi.x3    (timeout = -1)
/var/tmp/ccNRci8a.s: Assembler messages:
/var/tmp/ccNRci8a.s:3034: Error: Field out of range [-8192..8191] (8200).
compiler exited with status 1

Haven't tried to figure out why this is happening but it doesn't look
related to the patch.

Test results with the patch are posted here for i686 linux:
<http://gcc.gnu.org/ml/gcc-testresults/2001-03/msg00172.html>.  There six
additional pic failures, all at -O3.  These are 20010114-2.c, 990127-2.c
and conversion.c.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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