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]
Other format: [Raw text]

Re: [PATCH, testsuite] Add bind_pic_locally to certain tests


On 11/12/14 09:45, Alexander Ivchenko wrote:
Hi,

This patch adds bind_pic_locally to a certain tests that depend on the
availability of functions, declared in them. Those tests fail on
Android (or on any other pic target);
As for gcc/testsuite/g++.dg/fstack-protector-strong.[cC] - this is a
related problem. I've added target nonpic, cause __stack_chk_fail
(that is scanned in them) is not emitted in position independent case.

Patch is regtested on x86_64-unknown-linux-gnu. Is it OK?


2014-11-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>

         * c-c++-common/tm/safe-3.c: Add bind_pic_locally.
         * g++.dg/ipa/devirt-15.C: Ditto.
         * g++.dg/ipa/devirt-7.C: Ditto.
         * g++.dg/ipa/pr60600.C: Ditto.
         * g++.dg/opt/vt2.C: Ditto.
         * g++.dg/opt/vt4.C: Ditto.
         * g++.dg/pr48484.C: Ditto.
         * g++.dg/tm/pr47746.C: Ditto.
         * g++.dg/tree-ssa/pr57380.C: Ditto.
         * gcc.dg/ipa/inline-4.c: Ditto.
         * gcc.dg/ipa/inlinehint-1.c: Ditto.
         * gcc.dg/ipa/inlinehint-2.c: Ditto.
         * gcc.dg/ipa/inlinehint-3.c: Ditto.
         * gcc.dg/pr47276.c: Ditto.
         * gcc.dg/pure-2.c: Ditto.
         * gcc.dg/tm/nested-2.c: Ditto.
         * gcc.dg/tree-ssa/alias-29.c: Ditto.
         * gcc.target/i386/3dnow-1.c: Ditto.
         * gcc.target/i386/3dnow-2.c: Ditto.
         * gcc.target/i386/3dnowA-1.c: Ditto.
         * gcc.target/i386/3dnowA-2.c: Ditto.
         * gcc.target/i386/avx-1.c: Ditto.
         * gcc.target/i386/avx-2.c: Ditto.
         * gcc.target/i386/memcpy-1.c: Ditto.
         * gcc.target/i386/mmx-1.c: Ditto.
         * gcc.target/i386/mmx-2.c: Ditto.
         * gcc.target/i386/sse-14.c: Ditto.
         * gcc.target/i386/sse-22.c: Ditto.
         * gcc.target/i386/sse-22a.c: Ditto.
         * gcc.target/i386/sse-23.c: Ditto.
         * gcc.target/i386/sse-24.c: Ditto.
         * gcc.target/i386/vect-double-1.c: Ditto.
         * g++.dg/fstack-protector-strong.C: Add target nonpic.
         * gcc.dg/fstack-protector-strong.c: Ditto.
OK for the trunk.

Thanks
Jeff



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