Skip to content

Commit 5c19ba5

Browse files
committed
testsuite: fix testcase pr110279-1.c
The test case is for targets that support FMA. Previously the "target" selector is missed in dg-final command. gcc/testsuite/ChangeLog: PR tree-optimization/110279 * gcc.dg/pr110279-1.c: add target selector.
1 parent 648bd1f commit 5c19ba5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gcc/testsuite/gcc.dg/pr110279-1.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* { dg-do compile } */
1+
/* { dg-do compile { target { scalar_all_fma || { i?86-*-* x86_64-*-* } } } } */
22
/* { dg-options "-Ofast --param avoid-fma-max-bits=512 --param tree-reassoc-width=4 -fdump-tree-widening_mul-details" } */
33
/* { dg-additional-options "-mcpu=generic" { target aarch64*-*-* } } */
44
/* { dg-additional-options "-mfma" { target i?86-*-* x86_64-*-* } } */
@@ -64,4 +64,4 @@ foo3 (data_e a, data_e b, data_e c, data_e d)
6464
return result;
6565
}
6666

67-
/* { dg-final { scan-tree-dump-times "Generated FMA" 3 "widening_mul"} } */
67+
/* { dg-final { scan-tree-dump-times "Generated FMA" 3 "widening_mul" } } */

0 commit comments

Comments
 (0)