https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82699

--- Comment #9 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Tue Sep 25 13:51:45 2018
New Revision: 264569

URL: https://gcc.gnu.org/viewcvs?rev=264569&root=gcc&view=rev
Log:
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.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/pr82699-5.c
    trunk/gcc/testsuite/gcc.target/i386/pr82699-6.c

Reply via email to