This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [4.2 PATCH]: testsuite backports for -fpic/-fPIC
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 08 Jan 2008 09:30:34 -0800
- Subject: Re: [4.2 PATCH]: testsuite backports for -fpic/-fPIC
- References: <Pine.GSO.4.58.0801081137470.786@caipclassic.rutgers.edu>
- Reply-to: janis187 at us dot ibm dot com
On Tue, 2008-01-08 at 11:45 -0500, Kaveh R. GHAZI wrote:
> This patch backports to the 4.2 branch a few changes to the testsuite that
> help silence failures when using -fpic/-fPIC. I made two additional
> changes in doing the backport.
>
> One change is that I don't check "!__PIE__" since that macro is not
> defined by GCC on the branch. Second, I used "static inline" to avoid
> warnings about needing to use -fgnu-inline.
>
> Tested on x86_64-unknown-linux-gnu via "make check", no regressions and
> the testcases now pass with -fpic/-fPIC.
>
> Okay for 4.2 branch?
OK.
Janis