Index: src/Common/utility.h
===================================================================
--- src/Common/utility.h	(revision b68fc85c385c78a719e38cee61d4235739c22591)
+++ src/Common/utility.h	(revision d28a03ecbd43a9006978a2f77f2752fc4daadd7d)
@@ -441,13 +441,18 @@
 
 template<typename T>
-inline constexpr T ilog2(const T & t) {
-	if ( std::is_integral<T>::value ) {
+inline
+#if __GNUC__ > 4
+constexpr
+#endif
+T ilog2(const T & t) {
+	if(std::is_integral<T>::value) {
 		const constexpr int r = sizeof(t) * __CHAR_BIT__ - 1;
-		if ( sizeof(T) == sizeof(unsigned int ) ) return r - __builtin_clz( t );
-		if ( sizeof(T) == sizeof(unsigned long) ) return r - __builtin_clzl( t );
-		if ( sizeof(T) == sizeof(unsigned long long) ) return r - __builtin_clzll( t );
-	} // if
+		if( sizeof(T) == sizeof(unsigned       int) ) return r - __builtin_clz  ( t );
+		if( sizeof(T) == sizeof(unsigned      long) ) return r - __builtin_clzl ( t );
+		if( sizeof(T) == sizeof(unsigned long long) ) return r - __builtin_clzll( t );
+	}
+	assert(false);
 	return -1;
-} // ilong2
+} // iLog2
 
 
