From: Jakub Jelinek Date: Fri, 28 Feb 2020 08:44:53 +0000 (+0100) Subject: testsuite: Fix up g++.dg/torture/pr92152.C test for ilp32 targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c3489a083b3d1f7085752045b99e429950c3906;p=gcc.git testsuite: Fix up g++.dg/torture/pr92152.C test for ilp32 targets 2020-02-28 Jakub Jelinek PR middle-end/92152 * g++.dg/torture/pr92152.C (size_t): Use decltype (sizeof (0)) instead of hardcoding unsigned long. (uint64_t): Use unsigned long long instead of unsigned long. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 35fd93a18fc..cde33ee5015 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2020-02-28 Jakub Jelinek + + PR middle-end/92152 + * g++.dg/torture/pr92152.C (size_t): Use decltype (sizeof (0)) instead + of hardcoding unsigned long. + (uint64_t): Use unsigned long long instead of unsigned long. + 2020-02-27 Michael Meissner PR target/93932 diff --git a/gcc/testsuite/g++.dg/torture/pr92152.C b/gcc/testsuite/g++.dg/torture/pr92152.C index 1aff9b735be..0e4b4590281 100644 --- a/gcc/testsuite/g++.dg/torture/pr92152.C +++ b/gcc/testsuite/g++.dg/torture/pr92152.C @@ -1,6 +1,6 @@ /* { dg-do run } */ -using size_t = unsigned long; -using uint64_t = unsigned long; +using size_t = decltype (sizeof (0)); +using uint64_t = unsigned long long; namespace HPHP {