This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH TESTSUITE]: Fix ipa-cp-1 when -fpic by creating new dg-add-options "bind-pic-locally"
On Fri, 2009-10-16 at 11:53 -0400, Kaveh R. GHAZI wrote:
> On Thu, 15 Oct 2009, Janis Johnson wrote:
>
> > OK.
> >
> > Janis
> >
> > > 2009-10-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
> > >
> > > * lib/target-supports.exp (add_options_for_bind_pic_locally): New.
> > > * gcc.dg/tree-ssa/ipa-cp-1.c: Bind pic locally.
>
> Thanks Janis. Here's the patch to retrofit existing tests with the new
> dg-add-options command. I also found a few that were doing dg-skip for
> -fpic/-fPIC instead of adding -fpie and fixed those as well.
>
> Tested on x86_64-unknown-linux-gnu with -fpic/-fPIC/regular passes, no
> regressions. I also visually inspected the .log files and ensured that
> -fpie/-fPIE was passed to the appropriate tests.
>
> Okay for mainline?
OK.
Janis
>
> 2009-10-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * g++.dg/ipa/iinline-1.C: Use dg-add-options bind_pic_locally.
> * g++.dg/other/first-global.C: Likewise.
> * g++.dg/parse/attr-externally-visible-1.C: Likewise.
> * g++.dg/torture/pr40323.C: Likewise.
> * g++.dg/tree-ssa/nothrow-1.C: Likewise.
> * gcc.dg/inline-33.c: Likewise.
> * gcc.dg/ipa/ipa-1.c: Likewise.
> * gcc.dg/ipa/ipa-2.c: Likewise.
> * gcc.dg/ipa/ipa-3.c: Likewise.
> * gcc.dg/ipa/ipa-4.c: Likewise.
> * gcc.dg/ipa/ipa-5.c: Likewise.
> * gcc.dg/ipa/ipa-7.c: Likewise.
> * gcc.dg/ipa/ipacost-2.c: Likewise.
> * gcc.dg/tree-ssa/inline-3.c: Likewise.
> * gcc.dg/tree-ssa/local-pure-const.c: Likewise.
> * gfortran.dg/whole_file_5.f90: Likewise.
> * gfortran.dg/whole_file_6.f90: Likewise.
>