aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <jlaw@ventanamicro.com>2023-06-07 07:55:32 -0600
committerJeff Law <jlaw@ventanamicro.com>2023-06-07 08:46:57 -0600
commitc0b88e9e8bbe15f0c2167371b49521b748c6da19 (patch)
tree6e162e7f8cde2aaf6636ec5338ed2ad597e4266b
parentdd958667821e38b7d6b8efe448044901b4762b3a (diff)
downloadgcc-c0b88e9e8bbe15f0c2167371b49521b748c6da19.zip
gcc-c0b88e9e8bbe15f0c2167371b49521b748c6da19.tar.gz
gcc-c0b88e9e8bbe15f0c2167371b49521b748c6da19.tar.bz2
Fix expected test output on hppa
Recent changes in the hoisting code change the optimized gimple for the shadd-3 testcase on the PA. That in turn changes the number of expected shadd instructions. I'm not entirely sure the test is actually testing what we want anymore since I don't see a CSE for postreload to discover. But I did verify that the number of shadd instructions is sane, so I just changed the count in the obvious way. gcc/testsuite * gcc.target/hppa/shadd-3.c: Update expected output.
-rw-r--r--gcc/testsuite/gcc.target/hppa/shadd-3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/hppa/shadd-3.c b/gcc/testsuite/gcc.target/hppa/shadd-3.c
index a0c1f66..2d0b648 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" 3 } } */
+/* { dg-final { scan-assembler-times "sh.add" 4 } } */
extern void oof (void);
typedef struct simple_bitmap_def *sbitmap;