From: Marek Polacek Date: Mon, 1 Jul 2024 22:12:31 +0000 (-0400) Subject: testsuite: fix spaceship-narrowing1.C X-Git-Tag: basepoints/gcc-16~7793 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb39f7df8d1c16cc2763952a9cc0c828ba88b4d7;p=thirdparty%2Fgcc.git testsuite: fix spaceship-narrowing1.C I made sure that Wnarrowing22.C works fine on ILP32, but apparently I didn't verify that spaceship-narrowing1.C works there as well. :( gcc/testsuite/ChangeLog: * g++.dg/cpp2a/spaceship-narrowing1.C: Use __INT64_TYPE__. --- diff --git a/gcc/testsuite/g++.dg/cpp2a/spaceship-narrowing1.C b/gcc/testsuite/g++.dg/cpp2a/spaceship-narrowing1.C index 7769f950bed..9f2ff3ceae4 100644 --- a/gcc/testsuite/g++.dg/cpp2a/spaceship-narrowing1.C +++ b/gcc/testsuite/g++.dg/cpp2a/spaceship-narrowing1.C @@ -16,7 +16,7 @@ constexpr strong_ordering strong_ordering::greater = 1; } struct A { - long i : 48; + __INT64_TYPE__ i : 48; auto operator <=> (const A&) const = default; };