Commit 42d406b9 by Richard Biener Committed by Richard Biener

re PR target/84829 (-mieee-fp causes to link with -lieee but that is no longer available)

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: r262582
parent 38eb12ee
2018-07-12 Richard Biener <rguenther@suse.de> 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-12 Richard Biener <rguenther@suse.de>
* tree-ssa-sccvn.c (vn_lookup_simplify_result): Remove bogus * tree-ssa-sccvn.c (vn_lookup_simplify_result): Remove bogus
left-over from last patch. left-over from last patch.
......
...@@ -120,7 +120,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -120,7 +120,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC \ #define GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC \
"%{shared:-lc} \ "%{shared:-lc} \
%{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}" %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
#define GNU_USER_TARGET_LIB_SPEC \ #define GNU_USER_TARGET_LIB_SPEC \
"%{pthread:-lpthread} " \ "%{pthread:-lpthread} " \
......
2018-07-12 Richard Biener <rguenther@suse.de>
PR target/84829
* gcc.target/i386/pr84829.c: New testcase.
2018-07-12 Jakub Jelinek <jakub@redhat.com> 2018-07-12 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/torture/20180712-1.c: New test. * gcc.dg/torture/20180712-1.c: New test.
......
/* { dg-do link } */
/* { dg-options "-mieee-fp" } */
int main()
{
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment