Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 2020 23:21:23 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r367030 - head/lib/msun/src
Message-ID:  <202010242321.09ONLNYu055816@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat Oct 24 23:21:22 2020
New Revision: 367030
URL: https://svnweb.freebsd.org/changeset/base/367030

Log:
  Remove intel compiler support from math.h
  
  The intel compiler support has badly decayed over the years. Stop
  pretending that we support it. Note, I've stopped short of requiring
  gcc builtin support with this commit since other compilers may be used
  to build non-base software and we need to support those so more
  investigation is needed before simplifying further.

Modified:
  head/lib/msun/src/math.h

Modified: head/lib/msun/src/math.h
==============================================================================
--- head/lib/msun/src/math.h	Sat Oct 24 23:21:18 2020	(r367029)
+++ head/lib/msun/src/math.h	Sat Oct 24 23:21:22 2020	(r367030)
@@ -34,11 +34,11 @@ extern const union __nan_un {
 	float		__uf;
 } __nan;
 
-#if __GNUC_PREREQ__(3, 3) || (defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 800)
+#if __GNUC_PREREQ__(3, 3)
 #define	__MATH_BUILTIN_CONSTANTS
 #endif
 
-#if __GNUC_PREREQ__(3, 0) && !defined(__INTEL_COMPILER)
+#if __GNUC_PREREQ__(3, 0)
 #define	__MATH_BUILTIN_RELOPS
 #endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010242321.09ONLNYu055816>