public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, committed] Fix PR53773
@ 2012-08-03 16:18 William J. Schmidt
  0 siblings, 0 replies; only message in thread
From: William J. Schmidt @ 2012-08-03 16:18 UTC (permalink / raw)
  To: gcc-patches; +Cc: bergner

Change this test case to use the optimized dump so that the unreliable
vect-details dump can't cause different behavior on different targets.
Verified on powerpc64-unknown-linux-gnu, committed as obvious.

Thanks,
Bill


2012-08-03  Bill Schmidt  <wschmidt@linux.ibm.com>

	* testsuite/gcc.dg/vect/pr53773.c: Change to use optimized dump.


Index: gcc/testsuite/gcc.dg/vect/pr53773.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/pr53773.c	(revision 190018)
+++ gcc/testsuite/gcc.dg/vect/pr53773.c	(working copy)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-options "-fdump-tree-optimized" } */
 
 int
 foo (int integral, int decimal, int power_ten)
@@ -13,7 +14,7 @@ foo (int integral, int decimal, int power_ten)
   return integral+decimal;
 }
 
-/* Two occurrences in annotations, two in code.  */
-/* { dg-final { scan-tree-dump-times "\\* 10" 4 "vect" } } */
+/* { dg-final { scan-tree-dump-times "\\* 10" 2 "optimized" } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */
+/* { dg-final { cleanup-tree-dump "optimized" } } */
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-03 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-03 16:18 [PATCH, committed] Fix PR53773 William J. Schmidt

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).