* [PATCH] Fix gcc.dg/fold-reassoc-2.c
@ 2016-09-15 9:51 Richard Biener
0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2016-09-15 9:51 UTC (permalink / raw)
To: gcc-patches
It's supposed to test for the transform in two cases.
Applied to trunk.
Richard.
2016-09-15 Richard Biener <rguenther@suse.de>
* gcc.dg/fold-reassoc-2.c: Fix dump scan.
Index: gcc/testsuite/gcc.dg/fold-reassoc-2.c
===================================================================
--- gcc/testsuite/gcc.dg/fold-reassoc-2.c (revision 240153)
+++ gcc/testsuite/gcc.dg/fold-reassoc-2.c (working copy)
@@ -10,4 +10,4 @@ int bar (int i)
return (i + 2) + ~i;
}
-/* { dg-final { scan-tree-dump "return 1;" "original" } } */
+/* { dg-final { scan-tree-dump-times "return 1;" 2 "original" } } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-15 9:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-15 9:51 [PATCH] Fix gcc.dg/fold-reassoc-2.c 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).