Patchwork Fix tree-ssa/attr-alias.c testcase

login
register
mail settings
Submitter Jan Hubicka
Date June 7, 2013, 5:10 p.m.
Message ID <20130607171015.GB29599@kam.mff.cuni.cz>
Download mbox | patch
Permalink /patch/249764/
State New
Headers show

Comments

Jan Hubicka - June 7, 2013, 5:10 p.m.
Hi,
on some testers attr-alias.c fails because ( in the template is interpreted by
dejagnu rather than part of the pattern.  This patch fixes it by simply testing
for indentation of the call (to not match the declaration nor function body
dump header).

Comitted as obvious.

Honza

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 199820)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@ 
+2013-06-07  Jan Hubicka  <jh@suse.cz>
+
+	* gcc.dg/tree-ssa/attr-alias.c: Remove brackets in template.
+
 2013-06-07  Tobias Burnus  <burnus@net-b.de>
 
 	PR fortran/57549
Index: gcc.dg/tree-ssa/attr-alias.c
===================================================================
--- gcc.dg/tree-ssa/attr-alias.c	(revision 199820)
+++ gcc.dg/tree-ssa/attr-alias.c	(working copy)
@@ -21,8 +21,8 @@ 
 /* calls to test1 and test2 can be inlined and optmized away. Calls
    to test and test4 are overwritable.  */
 
-/* { dg-final { scan-tree-dump-times "test (" 2 "optimized" } } */
-/* { dg-final { scan-tree-dump-times "test4 (" 1 "optimized" } } */
-/* { dg-final { scan-tree-dump-not "test1 (" "optimized" } } */
-/* { dg-final { scan-tree-dump-not "test2 (" "optimized" } } */
+/* { dg-final { scan-tree-dump-times "  test " 1 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "  test4 " 1 "optimized" } } */
+/* { dg-final { scan-tree-dump-not "  test1 " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "  test2 " "optimized" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */