Hi! I've reverted the PR101312 changes in order to fix this PR. Here I'm just adding new testcase.
2026-02-05 Jakub Jelinek <[email protected]> PR c/123882 * gcc.dg/pr123882.c: New test. --- gcc/testsuite/gcc.dg/pr123882.c.jj +++ gcc/testsuite/gcc.dg/pr123882.c @@ -0,0 +1,7 @@ +/* PR c/123882 */ +/* { dg-do compile } */ +/* { dg-options "-std=c23" } */ + +typedef int T; +void foo (unsigned long, T[]); +void foo (unsigned long x, T[restrict x]); Jakub
