(From a old email in sent after the merge)

The output for "ealias" was changed in revision 158374.
        * tree-ssa-structalias.c
        (dump_solution_for_var): Always dump the solution.
Example
before: pp = same as mystruct
after:  pp = { ESCAPED NONLOCAL } same as mystruct

So the patch adjusts the output to be checked in the testcases and remove the xfail.

Tested on i686.
Ok to commit?
(don't have an account yet, thanks in advance for committer)

Patrick Marlier.

2012-01-04  Patrick Marlier  <patrick.marl...@gmail.com>

        * gcc.dg/tm/alias-1.c:  Adjust regexp.
        * gcc.dg/tm/alias-2.c:  Adjust regexp.

Index: gcc.dg/tm/alias-1.c
===================================================================
--- gcc.dg/tm/alias-1.c (revision 182878)
+++ gcc.dg/tm/alias-1.c (working copy)
@@ -34,7 +34,7 @@ void f(void)
 }
 
 /* { dg-final { scan-tree-dump-times "mystruct = \{ .*ESCAPED" 1 "ealias" } } 
*/
-/* { dg-final { scan-tree-dump-times "someptr = same as mystruct" 1 "ealias" { 
xfail *-*-* } } } */
-/* { dg-final { scan-tree-dump-times "ui\..* = same as mystruct" 1 "ealias" { 
xfail *-*-* } } } */
-/* { dg-final { scan-tree-dump-times "pp\..* = same as mystruct" 1 "ealias" { 
xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump-times "someptr = .*same as mystruct" 1 "ealias" 
} } */
+/* { dg-final { scan-tree-dump-times "ui\..* = .*same as mystruct" 1 "ealias" 
} } */
+/* { dg-final { scan-tree-dump-times "pp\..* = .*same as mystruct" 1 "ealias" 
} } */
 /* { dg-final { cleanup-tree-dump "ealias" } } */
Index: gcc.dg/tm/alias-2.c
===================================================================
--- gcc.dg/tm/alias-2.c (revision 182878)
+++ gcc.dg/tm/alias-2.c (working copy)
@@ -36,7 +36,7 @@ void foo()
   candy();
 }
 
-/* { dg-final { scan-tree-dump-times "ui\..* = same as mystruct" 1 "ealias" { 
xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump-times "ui\..* = .*same as mystruct" 1 "ealias" 
} } */
 /* { dg-final { scan-tree-dump-times "mystruct.*ESCAPED" 1 "ealias" } } */
-/* { dg-final { scan-tree-dump-times "pp = same as mystruct" 1 "ealias" { 
xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump-times "pp = .*same as mystruct" 1 "ealias" } } 
*/
 /* { dg-final { cleanup-tree-dump "ealias" } } */

Reply via email to