FTR this patch is superseded by Andre's patch:
https://gcc.gnu.org/pipermail/gcc-patches/2024-November/670378.html

On Thu, 28 Nov 2024 at 11:12, Christophe Lyon
<christophe.l...@linaro.org> wrote:
>
> After the recent c23, GCC complains because the testcase calls f()
> with a parameter whereas the prototype has none.
>
>         gcc/testsuite/ChangeLog
>         * gcc.target/arm/mve/dlstp-loop-form.c: Fix f() prototype.
> ---
>  gcc/testsuite/gcc.target/arm/mve/dlstp-loop-form.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/testsuite/gcc.target/arm/mve/dlstp-loop-form.c 
> b/gcc/testsuite/gcc.target/arm/mve/dlstp-loop-form.c
> index 08811cef568..3039ee8f686 100644
> --- a/gcc/testsuite/gcc.target/arm/mve/dlstp-loop-form.c
> +++ b/gcc/testsuite/gcc.target/arm/mve/dlstp-loop-form.c
> @@ -6,7 +6,7 @@
>  #pragma GCC arm "arm_mve.h" false
>  typedef __attribute__((aligned(2))) float16x8_t e;
>  mve_pred16_t c(long d) { return __builtin_mve_vctp16qv8bi(d); }
> -int f();
> +int f(e);
>  void n() {
>    int g, h, *i, j;
>    mve_pred16_t k;
> --
> 2.34.1
>

Reply via email to