diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-06-27 15:35:25 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-06-27 15:36:14 +0200 |
commit | 00063459f683adcd92ada8325984e6b10e9f7a95 (patch) | |
tree | bd8da27e71ade78ec78f5df0bba68084e44d8fc1 /gcc/gimple-loop-versioning.cc | |
parent | 01e094f82d8d91e08f62465a2e4f7a4c4897f9cd (diff) | |
download | gcc-00063459f683adcd92ada8325984e6b10e9f7a95.zip gcc-00063459f683adcd92ada8325984e6b10e9f7a95.tar.gz gcc-00063459f683adcd92ada8325984e6b10e9f7a95.tar.bz2 |
testsuite: Fix up pr106070.c test [PR106070]
The test FAILs on 32-bit targets, because when unsigned long
is 32-bit, (unsigned long) -1 isn't 0xffffffffffffffff.
The options to fix this would be either using -1UL, or switch
to unsigned long long and using -1ULL, I chose the latter because
the test then FAILs in r13-1242 even on 32-bit targets.
And while at it, some deobfuscation and formatting tweaks.
2022-06-27 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/106070
* gcc.dg/torture/pr106070.c: Use unsigned long long instead of
unsigned long and -1ULL instead of 0xffffffffffffffff, deobcuscate
and improve formatting.
Diffstat (limited to 'gcc/gimple-loop-versioning.cc')
0 files changed, 0 insertions, 0 deletions