On 2/27/23 16:55, Richard Sandiford wrote: > Jonathan Yong via Gcc-patches writes: >> Attached patch OK? >> >> gcc.dg/memchr-3.c: fix for LLP64 >> >> gcc/testsuite/ChangeLog: >> >> PR middle-end/97956 >> * gcc.dg/memchr-3.c (memchr): fix long to size_t in >> prototype. >> >> From 194eb3d43964276beeaea14ebee4b241799cd966 Mon Sep 17 00:00:00 2001 >> From: Jonathan Yong <10walls@gmail.com> >> Date: Mon, 27 Feb 2023 10:02:32 +0000 >> Subject: [PATCH] gcc.dg/memchr-3.c: fix for LLP64 >> >> gcc/testsuite/ChangeLog: >> >> PR middle-end/97956 >> * gcc.dg/memchr-3.c (memchr): fix long to size_t in >> prototype. > > It looks like the current type signature could have been a deliberate > part of the test. I think we should just skip it for LLP64 instead. > Preapproved if you agree. > > Thanks, > Richard > Revised, account for the warning in LLP64.