i386: Compile pr82699-5.c and pr82699-6.c with -fno-pic
Compile pr82699-5.c and pr82699-6.c with -fno-pic to avoid FAIL: gcc.target/i386/pr82699-5.c (test for excess errors) Excess errors: cc1: sorry, unimplemented: -mfentry isn't supported for 32-bit in combination with -fpic FAIL: gcc.target/i386/pr82699-6.c (test for excess errors) Excess errors: cc1: error: -mnop-mcount is not implemented for -fPIC cc1: sorry, unimplemented: -mfentry isn't supported for 32-bit in combination with -fpic when running GCC testsuite with --target_board='unix{-fpic\ -m32,-fpic}'. PR target/82699 * gcc.target/i386/pr82699-5.c: Add -fno-pic for ia32. * gcc.target/i386/pr82699-6.c: Add -fno-pic. From-SVN: r264569
This commit is contained in:
parent
eeefd00d92
commit
97b8f8679d
@ -1,3 +1,9 @@
|
||||
2018-09-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR target/82699
|
||||
* gcc.target/i386/pr82699-5.c: Add -fno-pic for ia32.
|
||||
* gcc.target/i386/pr82699-6.c: Add -fno-pic.
|
||||
|
||||
2018-09-25 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gfortran.dg/coarray_lock_7.f90: Adjust scan-tree-dump-times for
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* { dg-do compile { target *-*-linux* } } */
|
||||
/* { dg-options "-O2 -fcf-protection -mfentry -fasynchronous-unwind-tables" } */
|
||||
/* { dg-additional-options "-fno-pic" { target ia32 } } */
|
||||
/* { dg-final { scan-assembler-times {\t\.cfi_startproc\n\tendbr} 1 } } */
|
||||
|
||||
extern int bar (int);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* { dg-do compile { target *-*-linux* } } */
|
||||
/* { dg-options "-O2 -fcf-protection -pg -mfentry -mrecord-mcount -mnop-mcount -fasynchronous-unwind-tables" } */
|
||||
/* { dg-options "-fno-pic -O2 -fcf-protection -pg -mfentry -mrecord-mcount -mnop-mcount -fasynchronous-unwind-tables" } */
|
||||
/* { dg-final { scan-assembler-times {\t\.cfi_startproc\n\tendbr} 1 } } */
|
||||
|
||||
extern int bar (int);
|
||||
|
Loading…
Reference in New Issue
Block a user