Fixes shadd-2.c and shadd-3.c test fails on trunk. Committed to trunk.
Dave --- Adjust shadd-2 and shadd-3 scan counts. 2022-01-02 John David Anglin <dang...@gcc.gnu.org> gcc/testsuite/ChangeLog: * gcc.target/hppa/shadd-2.c: Adjust count to 3. * gcc.target/hppa/shadd-3.c: Likewise. diff --git a/gcc/testsuite/gcc.target/hppa/shadd-2.c b/gcc/testsuite/gcc.target/hppa/shadd-2.c index b92f782cf0d..74d4fcd146e 100644 --- a/gcc/testsuite/gcc.target/hppa/shadd-2.c +++ b/gcc/testsuite/gcc.target/hppa/shadd-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2" } */ -/* { dg-final { scan-assembler-times "sh.add" 4 } } */ +/* { dg-final { scan-assembler-times "sh.add" 3 } } */ typedef struct rtx_def *rtx; typedef const struct rtx_def *const_rtx; diff --git a/gcc/testsuite/gcc.target/hppa/shadd-3.c b/gcc/testsuite/gcc.target/hppa/shadd-3.c index 2d0b648f384..a0c1f663d56 100644 --- a/gcc/testsuite/gcc.target/hppa/shadd-3.c +++ b/gcc/testsuite/gcc.target/hppa/shadd-3.c @@ -10,7 +10,7 @@ over time we'll have to revisit the combine and/or postreload dumps. Note we have disabled delay slot filling to improve test stability. */ -/* { dg-final { scan-assembler-times "sh.add" 4 } } */ +/* { dg-final { scan-assembler-times "sh.add" 3 } } */ extern void oof (void); typedef struct simple_bitmap_def *sbitmap;
signature.asc
Description: PGP signature