svn commit: r208910 - projects/clangbsd/contrib/gcc

Roman Divacky rdivacky at FreeBSD.org
Tue Jun 8 15:45:39 UTC 2010


Author: rdivacky
Date: Tue Jun  8 15:45:38 2010
New Revision: 208910
URL: http://svn.freebsd.org/changeset/base/208910

Log:
  Remove this workaround. Clang can cope with this just fine now.

Modified:
  projects/clangbsd/contrib/gcc/toplev.h

Modified: projects/clangbsd/contrib/gcc/toplev.h
==============================================================================
--- projects/clangbsd/contrib/gcc/toplev.h	Tue Jun  8 15:45:04 2010	(r208909)
+++ projects/clangbsd/contrib/gcc/toplev.h	Tue Jun  8 15:45:38 2010	(r208910)
@@ -158,7 +158,7 @@ extern int exact_log2                  (
 extern int floor_log2                  (unsigned HOST_WIDE_INT);
 
 /* Inline versions of the above for speed.  */
-#if 0
+#if GCC_VERSION >= 3004
 # if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
 #  define CLZ_HWI __builtin_clzl
 #  define CTZ_HWI __builtin_ctzl


More information about the svn-src-projects mailing list