This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][mem-ref2] "xfail" gcc.dg/tree-ssa/loadpre6.c


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" } } */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]