This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed,testsuite] Not run gcc.target/i386/sibcall-1.c on PIC targets
- From: FX <fxcoudert at gmail dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 15 Nov 2014 20:46:20 +0100
- Subject: [committed,testsuite] Not run gcc.target/i386/sibcall-1.c on PIC targets
- Authentication-results: sourceware.org; auth=none
- References: <4E4C1272-79FF-464B-A93E-9D0A2FED3544 at gmail dot com> <F76E2222-D113-4A4F-93DD-717F440E4E69 at gmail dot com> <A637FFBF-BD1A-4C34-BFBA-5ECCC1F2F0D8 at gmail dot com>
Donât run gcc.target/i386/sibcall-1.c on PIC targets.
2014-11-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR target/60104
* gcc.target/i386/sibcall-1.c: Don't run on pic targets.
Index: gcc.target/i386/sibcall-1.c
===================================================================
--- gcc.target/i386/sibcall-1.c (revision 217599)
+++ gcc.target/i386/sibcall-1.c (working copy)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target ia32 } } */
+/* { dg-do compile { target { ia32 && nonpic } } } */
/* { dg-options "-O2" } */
extern int (*foo)(int);