]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc/testsuite: adjust tree-ssa/forwprop-43.c
authorArtemiy Volkov <artemiy.volkov@arm.com>
Thu, 13 Nov 2025 11:15:19 +0000 (11:15 +0000)
committerArtemiy Volkov <artemiy.volkov@arm.com>
Thu, 13 Nov 2025 16:48:54 +0000 (16:48 +0000)
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.

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/forwprop-43.c: Adjust.

gcc/testsuite/gcc.dg/tree-ssa/forwprop-43.c

index f0f6170648a369cd6f08e0dd3cf10b133cc58738..bfda376e1f73e5bc5021a10c09caca004b225637 100644 (file)
@@ -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 } */
 /* { dg-additional-options "-fgimple" } */
 
 #include <stdint.h>