svn commit: r367030 - head/lib/msun/src

Warner Losh imp at FreeBSD.org
Sat Oct 24 23:21:23 UTC 2020


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
 


More information about the svn-src-head mailing list