aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <jlaw@ventanamicro.com>2023-12-02 22:40:41 -0700
committerJeff Law <jlaw@ventanamicro.com>2023-12-02 22:40:41 -0700
commit3da08ffa6df2634092a6292b045568fc326e28e6 (patch)
treedbecc77ffed9da67ca367393287b3809439ccdb7
parentd5c823b033bb6409bbcd115b318093126f5a674f (diff)
downloadgcc-3da08ffa6df2634092a6292b045568fc326e28e6.zip
gcc-3da08ffa6df2634092a6292b045568fc326e28e6.tar.gz
gcc-3da08ffa6df2634092a6292b045568fc326e28e6.tar.bz2
[committed] Fix pr65369.c
There's a caller/callee type mismatch in this test that shows up on targets where ints are something other than 32 bit types. Based on reviewing the original bug report, the fix and the part of the test this fixes, I'm reasonably confident this hasn't compromised the test. gcc/testsuite * gcc.c-torture/execute/pr65369.c: Fix type mismatch.
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/pr65369.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr65369.c b/gcc/testsuite/gcc.c-torture/execute/pr65369.c
index 017fe1b..548b48f 100644
--- a/gcc/testsuite/gcc.c-torture/execute/pr65369.c
+++ b/gcc/testsuite/gcc.c-torture/execute/pr65369.c
@@ -6,7 +6,7 @@ static const char data[] =
"123456789012345678901234567890";
__attribute__ ((noinline))
-static void foo (const unsigned int *buf)
+static void foo (const uint32_t *buf)
{
if (__builtin_memcmp (buf, data, 64))
__builtin_abort ();