[PATCH][mem-ref2] "xfail" gcc.dg/tree-ssa/loadpre6.c
Richard Guenther
rguenther@suse.de
Fri Jun 25 14:20:00 GMT 2010
Committed.
Richard.
2010-06-25 Richard Guenther <rguenther@suse.de>
* gcc.dg/tree-ssa/loadpre6.c: Adjust for PR44656.
Index: gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c
===================================================================
*** gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c (revision 161368)
--- gcc/testsuite/gcc.dg/tree-ssa/loadpre6.c (working copy)
***************
*** 1,5 ****
/* { dg-do compile } */
! /* { dg-options "-O2 -fdump-tree-pre-stats" } */
#include <stddef.h>
union tree_node;
--- 1,5 ----
/* { dg-do compile } */
! /* { dg-options "-O2 -fdump-tree-pre-stats -fdump-tree-fre" } */
#include <stddef.h>
union tree_node;
*************** main (void)
*** 72,78 ****
remove_useless_vars (&unexpanded_var_list, 0);
return 0;
}
! /* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre" } } */
/* { dg-final { scan-tree-dump-times "Insertions: 2" 1 "pre" } } */
/* { dg-final { cleanup-tree-dump "pre" } } */
-
--- 72,80 ----
remove_useless_vars (&unexpanded_var_list, 0);
return 0;
}
!
! /* See PR44656. The last elimination is only done by PRE. */
! /* { dg-final { scan-tree-dump-not "= unexpanded_var_list;" "fre" { xfail *-*-* } } } */
! /* { dg-final { scan-tree-dump-times "Eliminated: 1" 2 "pre" } } */
/* { dg-final { scan-tree-dump-times "Insertions: 2" 1 "pre" } } */
/* { dg-final { cleanup-tree-dump "pre" } } */
More information about the Gcc-patches
mailing list