aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config/cpu
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2012-09-27 12:53:46 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2012-09-27 12:53:46 +0000
commitfb95b3dfae9b6868d513486a4e7b402aa6be683a (patch)
tree0d382c419883d8c06581e0c6923f45505b85a190 /libstdc++-v3/config/cpu
parentc2c47e8ff4a2af743d653110b385a944b3aee8fb (diff)
downloadgcc-fb95b3dfae9b6868d513486a4e7b402aa6be683a.zip
gcc-fb95b3dfae9b6868d513486a4e7b402aa6be683a.tar.gz
gcc-fb95b3dfae9b6868d513486a4e7b402aa6be683a.tar.bz2
re PR libstdc++/54727 (error: declaration of ‘UINT64_C’ must be available)
2012-09-27 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/54727 * config/cpu/i486/opt/bits/opt_random.h: Avoid UINT64_C. From-SVN: r191806
Diffstat (limited to 'libstdc++-v3/config/cpu')
-rw-r--r--libstdc++-v3/config/cpu/i486/opt/bits/opt_random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/config/cpu/i486/opt/bits/opt_random.h b/libstdc++-v3/config/cpu/i486/opt/bits/opt_random.h
index 9584e27..3b0fb5d 100644
--- a/libstdc++-v3/config/cpu/i486/opt/bits/opt_random.h
+++ b/libstdc++-v3/config/cpu/i486/opt/bits/opt_random.h
@@ -64,7 +64,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
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);