diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2018-11-08 18:06:24 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2018-11-08 18:06:24 +0100 |
commit | dfe2a550e8879f9af11e8e2c7c4eb10ea626a7e6 (patch) | |
tree | 52dfeed8d61093d03d0850d84a9d2f1af56ab895 /gcc | |
parent | d0cb40577fb3a4cbdadd96c5454d1cfdfb64b518 (diff) | |
download | gcc-dfe2a550e8879f9af11e8e2c7c4eb10ea626a7e6.zip gcc-dfe2a550e8879f9af11e8e2c7c4eb10ea626a7e6.tar.gz gcc-dfe2a550e8879f9af11e8e2c7c4eb10ea626a7e6.tar.bz2 |
pr87874.c (em): Declare uint64_max as const unsigned long long int.
* gcc.dg/pr87874.c (em): Declare uint64_max as
const unsigned long long int.
From-SVN: r265929
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr87874.c | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 57f2367..5d24473 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-11-08 Uros Bizjak <ubizjak@gmail.com> + + * gcc.dg/pr87874.c (em): Declare uint64_max as + const unsigned long long int. + 2018-11-08 Jozef Lawrynowicz <jozef.l@mittosystems.com> * gcc.dg/attr-alloc_size-10.c: Fix calculation of USHRT_MAX to prevent @@ -24,7 +29,7 @@ 2018-11-08 Jozef Lawrynowicz <jozef.l@mittosystems.com> - * lib/gcc-dg.exp (gcc-dg-prune): Add new regexps for when the size of + * lib/gcc-dg.exp (gcc-dg-prune): Add new regexps for when the size of an output section is too large for a memory region, or a memory region overflows. diff --git a/gcc/testsuite/gcc.dg/pr87874.c b/gcc/testsuite/gcc.dg/pr87874.c index 1480a5e..80debe0 100644 --- a/gcc/testsuite/gcc.dg/pr87874.c +++ b/gcc/testsuite/gcc.dg/pr87874.c @@ -16,7 +16,7 @@ em (int u5, int fo, int s7) if (es == 0) if (nb == *vk) { - const unsigned long int uint64_max = 18446744073709551615ul; + const unsigned long long int uint64_max = 18446744073709551615ull; __int128 ks = uint64_max / 2 + 1; while (s7 < 1) |