[testsuite] : Cleanup dumps

Submitted by Uros Bizjak on Dec. 8, 2013, 9:47 p.m.

Details

Message ID CAFULd4ZyvWUT8vFwkd1meggdJFTsuce5nA_08SyCwW_m=txqYA@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Dec. 8, 2013, 9:47 p.m.
Hello!

2013-12-08  Uros Bizjak  <ubizjak@gmail.com>

    * gcc.dg/macro-fusion-1.c: Cleanup sched2 rtl dump.
    * gcc.dg/macro-fusion-2.c: Ditto.
    * gcc.dg/vect/vect-simd-clone-10a.c: Cleanup vect tree dump.
    * gcc.dg/vect/vect-simd-clone-12a.c: Ditto.

Tested on x86_64-pc-linux-gnu, committed to mainline SVN.

Uros.

Patch hide | download patch | download mbox

Index: gcc.dg/macro-fusion-1.c
===================================================================
--- gcc.dg/macro-fusion-1.c	(revision 205790)
+++ gcc.dg/macro-fusion-1.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
 /* { dg-options "-O2 -mtune=corei7 -fdump-rtl-sched2" } */
-/* { dg-final { scan-rtl-dump-not "compare.*insn.*jump_insn.*jump_insn" "sched2" } } */
 
 int a[100];
 
@@ -11,3 +10,6 @@ 
    sum += (0.5 + (a[i%100] - 128));
   return sum;
 }
+
+/* { dg-final { scan-rtl-dump-not "compare.*insn.*jump_insn.*jump_insn" "sched2" } } */
+/* { dg-final { cleanup-rtl-dump "sched2" } } */
Index: gcc.dg/macro-fusion-2.c
===================================================================
--- gcc.dg/macro-fusion-2.c	(revision 205790)
+++ gcc.dg/macro-fusion-2.c	(working copy)
@@ -1,6 +1,5 @@ 
 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
 /* { dg-options "-O2 -mtune=corei7-avx -fdump-rtl-sched2" } */
-/* { dg-final { scan-rtl-dump-not "compare.*insn.*jump_insn.*jump_insn" "sched2" } } */
 
 int a[100];
 
@@ -14,3 +13,6 @@ 
     }
   return sum;
 }
+
+/* { dg-final { scan-rtl-dump-not "compare.*insn.*jump_insn.*jump_insn" "sched2" } } */
+/* { dg-final { cleanup-rtl-dump "sched2" } } */
Index: gcc.dg/vect/vect-simd-clone-10a.c
===================================================================
--- gcc.dg/vect/vect-simd-clone-10a.c	(revision 205790)
+++ gcc.dg/vect/vect-simd-clone-10a.c	(working copy)
@@ -15,3 +15,5 @@ 
 {
   return a + b + c;
 }
+
+/* { dg-final { cleanup-tree-dump "vect" } } */
Index: gcc.dg/vect/vect-simd-clone-12a.c
===================================================================
--- gcc.dg/vect/vect-simd-clone-12a.c	(revision 205790)
+++ gcc.dg/vect/vect-simd-clone-12a.c	(working copy)
@@ -15,3 +15,5 @@ 
 {
   return a + b + c;
 }
+
+/* { dg-final { cleanup-tree-dump "vect" } } */