]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix expected test output on hppa
authorJeff Law <jlaw@ventanamicro.com>
Wed, 7 Jun 2023 13:55:32 +0000 (07:55 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Wed, 7 Jun 2023 14:46:57 +0000 (08:46 -0600)
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.

gcc/testsuite/gcc.target/hppa/shadd-3.c

index a0c1f663d567cb23982fd28ac15cb414a43fee69..2d0b648f384238a5d417a25680ab264726ef20f4 100644 (file)
@@ -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;