From 42d406b9df2f2835789598ca5303e2673c73150d Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 12 Jul 2018 11:53:34 +0000 Subject: [PATCH] re PR target/84829 (-mieee-fp causes to link with -lieee but that is no longer available) 2018-07-12 Richard Biener PR target/84829 * config/gnu-user.h (GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC): Remove -mieee-fp handling. * gcc.target/i386/pr84829.c: New testcase. From-SVN: r262582 --- gcc/ChangeLog | 6 ++++++ gcc/config/gnu-user.h | 2 +- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/pr84829.c | 7 +++++++ 4 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 gcc/testsuite/gcc.target/i386/pr84829.c diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a401946f83b..a337db44850 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-07-12 Richard Biener + + PR target/84829 + * config/gnu-user.h (GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC): + Remove -mieee-fp handling. + 2018-07-12 Richard Biener * tree-ssa-sccvn.c (vn_lookup_simplify_result): Remove bogus diff --git a/gcc/config/gnu-user.h b/gcc/config/gnu-user.h index aff034d5523..b326cf069c5 100644 --- a/gcc/config/gnu-user.h +++ b/gcc/config/gnu-user.h @@ -120,7 +120,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC \ "%{shared:-lc} \ - %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}" + %{!shared:%{profile:-lc_p}%{!profile:-lc}}" #define GNU_USER_TARGET_LIB_SPEC \ "%{pthread:-lpthread} " \ diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4ce5afdc416..0f21b510d37 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-07-12 Richard Biener + + PR target/84829 + * gcc.target/i386/pr84829.c: New testcase. + 2018-07-12 Jakub Jelinek * gcc.dg/torture/20180712-1.c: New test. diff --git a/gcc/testsuite/gcc.target/i386/pr84829.c b/gcc/testsuite/gcc.target/i386/pr84829.c new file mode 100644 index 00000000000..a63a49b1317 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr84829.c @@ -0,0 +1,7 @@ +/* { dg-do link } */ +/* { dg-options "-mieee-fp" } */ + +int main() +{ + return 0; +} -- 2.30.2