On Thu, Nov 13, 2025 at 8:56 AM Artemiy Volkov <[email protected]> wrote:
>
> Introduced in r16-5042-g470411f44f51d9, this testcase fails on
> AdvSIMD-less AArch32 configurations, likely as well as on other targets
> without vector support; thus, require it via dg-require-effective-target.
> Since this testcase includes stdint.h, require that as well.
>
> Regtested on arm-gnueabihf with
> RUNTESTFLAGS=--target_board=unix/-mfpu=vfpv3-d16/-march=armv7-a.
>
> Pushing as obvious.
>
> gcc/testsuite/ChangeLog:
>
>         * gcc.dg/tree-ssa/forwprop-43.c: Adjust.
> ---
>  gcc/testsuite/gcc.dg/tree-ssa/forwprop-43.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-43.c 
> b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-43.c
> index f0f6170648a..bfda376e1f7 100644
> --- a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-43.c
> +++ b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-43.c
> @@ -1,5 +1,7 @@
>  /* { dg-do compile } */
>  /* { dg-options "-O2 -fdump-tree-forwprop1" } */
> +/* { dg-require-effective-target stdint_types } */
> +/* { dg-require-effective-target vect_int } */

The requirement of vect_int should NOT be needed as you are scanning
forwprop1 and it can't be used outside of the vect/* test
infrastructure see r14-8210-g484f48f03cf9a3 on why.

Thanks,
Andrew Pinski


>  /* { dg-additional-options "-fgimple" } */
>
>  #include <stdint.h>
> --
> 2.43.0
>

Reply via email to