* [PATCH] Make gcc.dg/tree-ssa/ivopt_5.c more robust
@ 2016-08-05 8:52 Richard Biener
0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2016-08-05 8:52 UTC (permalink / raw)
To: gcc-patches
If edges are swapped so are PHI args, the following adjusts the pattern
for this case.
Committed.
Richard.
2016-08-05 Richard Biener <rguenther@suse.de>
* gcc.dg/tree-ssa/ivopt_5.c: Make robust against edge swapping.
Index: gcc/testsuite/gcc.dg/tree-ssa/ivopt_5.c
===================================================================
--- gcc/testsuite/gcc.dg/tree-ssa/ivopt_5.c (revision 239164)
+++ gcc/testsuite/gcc.dg/tree-ssa/ivopt_5.c (working copy)
@@ -20,4 +20,4 @@ void foo1 (char *pstart, int n)
*p = 1;
}
-/* { dg-final { scan-tree-dump-times "ivtmp.\[0-9_\]* = PHI <\[^0\]" 0 "ivopts"} } */
+/* { dg-final { scan-tree-dump-times "ivtmp.\[0-9_\]* = PHI <\[^0\]\[^,\]*, \[^0\]" 0 "ivopts"} } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-08-05 8:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-05 8:52 [PATCH] Make gcc.dg/tree-ssa/ivopt_5.c more robust Richard Biener
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).