This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch testsuite]: Fix some tests for LLP64 targets
Committed.
Andreas.
* gcc.dg/pr31490.c: Fix last change.
diff --git a/gcc/testsuite/gcc.dg/pr31490.c b/gcc/testsuite/gcc.dg/pr31490.c
index 396ec26..37731b3 100644
--- a/gcc/testsuite/gcc.dg/pr31490.c
+++ b/gcc/testsuite/gcc.dg/pr31490.c
@@ -7,4 +7,4 @@ __extension__ typedef __UINTPTR_TYPE__ uintptr_t;
int cpu (void *attr) {}
const uintptr_t x __attribute__((section("foo"))) = (uintptr_t)&cpu;
-const uintptr g __attribute__((section("foo"))) = 0;
+const uintptr_t g __attribute__((section("foo"))) = 0;
--
1.8.1.5
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."