Patchwork [v3] libstdc++/54727

login
register
mail settings
Submitter Paolo Carlini
Date Sept. 27, 2012, 12:55 p.m.
Message ID <50644CBA.4040908@oracle.com>
Download mbox | patch
Permalink /patch/187350/
State New
Headers show

Comments

Paolo Carlini - Sept. 27, 2012, 12:55 p.m.
Hi,

unbreak Mozilla build. Tested x86_64-linux.

Thanks,
Paolo.

/////////////////////
2012-09-27  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/54727
	* config/cpu/i486/opt/bits/opt_random.h: Avoid UINT64_C.

Patch

Index: config/cpu/i486/opt/bits/opt_random.h
===================================================================
--- config/cpu/i486/opt/bits/opt_random.h	(revision 191799)
+++ config/cpu/i486/opt/bits/opt_random.h	(working copy)
@@ -64,7 +64,7 @@ 
 	      return;
 	  }
 
-	constexpr uint64_t __maskval = UINT64_C(0xfffffffffffff);
+	constexpr uint64_t __maskval = 0xfffffffffffffull;
 	static const __m128i __mask = _mm_set1_epi64x(__maskval);
 	static const __m128i __two = _mm_set1_epi64x(0x4000000000000000ull);
 	static const __m128d __three = _mm_set1_pd(3.0);