testsuite/106872 - fix uninit predicate dump scan

Message ID 20220908110154.2A14F1322C@imap2.suse-dmz.suse.de
State New, archived
Headers
Series testsuite/106872 - fix uninit predicate dump scan |

Commit Message

Richard Biener Sept. 8, 2022, 11:01 a.m. UTC
  On ppc we see a doloop temp rather than ivtmp.

Tested on x86_64-unknown-linux-gnu and ppc64le, pushed.

	PR testsuite/106872
	* gcc.dg/uninit-pred-12.c: Adjust.
---
 gcc/testsuite/gcc.dg/uninit-pred-12.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/testsuite/gcc.dg/uninit-pred-12.c b/gcc/testsuite/gcc.dg/uninit-pred-12.c
index ebf0288af1f..4c66486fb3a 100644
--- a/gcc/testsuite/gcc.dg/uninit-pred-12.c
+++ b/gcc/testsuite/gcc.dg/uninit-pred-12.c
@@ -31,4 +31,4 @@  unsigned foo (unsigned v, int y, int w)
 }
 
 /* Make sure predicate analysis picked up the loop exit condition.  */
-/* { dg-final { scan-tree-dump "AND \\(NOT \\(ivtmp" "uninit1" } } */
+/* { dg-final { scan-tree-dump "AND \\(NOT \\((ivtmp|doloop)" "uninit1" } } */