This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] Minor testsuite fix
- From: law at redhat dot com
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 27 Aug 2003 12:42:54 -0600
- Subject: [tree-ssa] Minor testsuite fix
- Reply-to: law at redhat dot com
The declaration of dont_remove caused us to find "dont_remove" twice in the
tree dump. This patch tightens the search string so that it only finds
calls to dont_remove.
* gcc.dg/tree-ssa-20030821-1.c: Don't get confused by declaration
of dont_remove.
Index: ChangeLog.tree-ssa
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/Attic/ChangeLog.tree-ssa,v
retrieving revision 1.1.2.60
diff -c -3 -p -r1.1.2.60 ChangeLog.tree-ssa
*** ChangeLog.tree-ssa 26 Aug 2003 08:13:31 -0000 1.1.2.60
--- ChangeLog.tree-ssa 27 Aug 2003 17:24:41 -0000
***************
*** 1,3 ****
--- 1,8 ----
+ 2003-08-27 Jeff Law <law@redhat.com>
+
+ * gcc.dg/tree-ssa-20030821-1.c: Don't get confused by declaration
+ of dont_remove.
+
2003-08-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
Jeff Law <law@redhat.com>
Index: gcc.dg/tree-ssa/20030821-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/Attic/20030821-1.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030821-1.c
*** gcc.dg/tree-ssa/20030821-1.c 26 Aug 2003 08:13:31 -0000 1.1.2.1
--- gcc.dg/tree-ssa/20030821-1.c 27 Aug 2003 17:26:25 -0000
*************** x:
*** 20,23 ****
y: ;
}
! /* { dg-final { scan-tree-dump-times "dont_remove" 1 "optimized"} } */
--- 20,23 ----
y: ;
}
! /* { dg-final { scan-tree-dump-times "dont_remove \\(\\)" 1 "optimized"} } */