]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/84829 (-mieee-fp causes to link with -lieee but that is no longer available)
authorRichard Biener <rguenther@suse.de>
Thu, 12 Jul 2018 16:29:50 +0000 (16:29 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 Jul 2018 16:29:50 +0000 (16:29 +0000)
2018-07-12  Richard Biener  <rguenther@suse.de>

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: r262597

gcc/ChangeLog
gcc/config/gnu-user.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr84829.c [new file with mode: 0644]

index 016356eb87b38043fa7442382142456c80e2cfe0..85d77e7a3cd4dcc3b68a351fd4d90d2dfc321cba 100644 (file)
@@ -1,3 +1,9 @@
+2018-07-12  Richard Biener  <rguenther@suse.de>
+
+       PR target/84829
+       * config/gnu-user.h (GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC):
+       Remove -mieee-fp handling.
+
 2018-07-10  Carl Love  <cel@us.ibm.com>
 
        Backport from mainline
index de605b0c46657f37dfff2ee2cd1c575bbe880a03..9b4bded8f6995c8f336ae75339048301afb9fb17 100644 (file)
@@ -122,7 +122,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} " \
index d81387571f46000a7dcddf1505ef976f41a94340..b746643cf1da7a258e58742c979e3e62266faa55 100644 (file)
@@ -1,3 +1,8 @@
+2018-07-12  Richard Biener  <rguenther@suse.de>
+
+       PR target/84829
+       * gcc.target/i386/pr84829.c: New testcase.
+
 2018-07-03  Paul Thomas  <pault@gcc.gnu.org>
 
        PR fortran/82969
diff --git a/gcc/testsuite/gcc.target/i386/pr84829.c b/gcc/testsuite/gcc.target/i386/pr84829.c
new file mode 100644 (file)
index 0000000..a63a49b
--- /dev/null
@@ -0,0 +1,7 @@
+/* { dg-do link } */
+/* { dg-options "-mieee-fp" } */
+
+int main()
+{
+  return 0;
+}