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] Remove XFAILs from testcases that are now XPASSing


Like the following.

Tested on x86_64-unknown-linux-gnu (I verified the testcases XPASS
in the last bulk alias-improvements testsuite results).

Committed to trunk.

Richard.

2009-04-03  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/34743
	* gcc.dg/pr38984.c: Remove XFAIL, adjust.
	* gcc.dg/tree-ssa/20070302-1.c: Remove XFAIL.
	* gcc.dg/tree-ssa/alias-18.c: Likewise.
	* gcc.dg/tree-ssa/sra-3.c: Likewise.
	* gcc.dg/vect/no-vfa-vect-49.c: Likewise.
	* gcc.dg/vect/no-vfa-vect-53.c: Likewise.
	* gcc.dg/vect/no-vfa-vect-57.c: Likewise.
	* gcc.dg/vect/no-vfa-vect-61.c: Likewise.

Index: gcc.dg/pr38984.c
===================================================================
*** gcc.dg/pr38984.c	(revision 145496)
--- gcc.dg/pr38984.c	(working copy)
*************** int f(int *p)
*** 10,19 ****
    return *p == a;
  }
  
! /* Currently fails because of PR38985.  */
! 
! /* { dg-final { scan-tree-dump-times " = \\\*p" 2 "optimized" { xfail *-*-* } } } */
! /* { dg-final { scan-tree-dump-not "return 1" "optimized" { xfail *-*-* } } } */
  /* { dg-final { cleanup-tree-dump "optimized" } } */
  
  
--- 10,17 ----
    return *p == a;
  }
  
! /* { dg-final { scan-tree-dump-times "\\\*p" 2 "optimized" } } */
! /* { dg-final { scan-tree-dump-not "return 1" "optimized" } } */
  /* { dg-final { cleanup-tree-dump "optimized" } } */
  
  
Index: gcc.dg/tree-ssa/20070302-1.c
===================================================================
*** gcc.dg/tree-ssa/20070302-1.c	(revision 145496)
--- gcc.dg/tree-ssa/20070302-1.c	(working copy)
***************
*** 1,5 ****
  /* { dg-do link } */
- /* { dg-xfail-if "" { *-*-* } { "*" } { "" } }  See PR34743.  */
  /* { dg-options "-O2" } */
  
  struct A
--- 1,4 ----
Index: gcc.dg/tree-ssa/alias-18.c
===================================================================
*** gcc.dg/tree-ssa/alias-18.c	(revision 145496)
--- gcc.dg/tree-ssa/alias-18.c	(working copy)
*************** int test8 (struct A *p, int *q)
*** 77,87 ****
  }
  
  /* { dg-final { scan-tree-dump "with 0" "fre" } } */
! /* { dg-final { scan-tree-dump "with 1" "fre" { xfail *-*-* } } } */
! /* { dg-final { scan-tree-dump "with 3" "fre" { xfail *-*-* } } } */
  /* { dg-final { scan-tree-dump "with 4" "fre" } } */
  /* { dg-final { scan-tree-dump "with 5" "fre" } } */
! /* { dg-final { scan-tree-dump "with 8" "fre" { xfail *-*-* } } } */
  /* { dg-final { scan-tree-dump-not "return 2;" "optimized" } } */
  /* { dg-final { scan-tree-dump-not "return 6;" "optimized" } } */
  /* { dg-final { scan-tree-dump-not "return 7;" "optimized" } } */
--- 77,87 ----
  }
  
  /* { dg-final { scan-tree-dump "with 0" "fre" } } */
! /* { dg-final { scan-tree-dump "with 1" "fre" } } */
! /* { dg-final { scan-tree-dump "with 3" "fre" } } */
  /* { dg-final { scan-tree-dump "with 4" "fre" } } */
  /* { dg-final { scan-tree-dump "with 5" "fre" } } */
! /* { dg-final { scan-tree-dump "with 8" "fre" } } */
  /* { dg-final { scan-tree-dump-not "return 2;" "optimized" } } */
  /* { dg-final { scan-tree-dump-not "return 6;" "optimized" } } */
  /* { dg-final { scan-tree-dump-not "return 7;" "optimized" } } */
Index: gcc.dg/tree-ssa/sra-3.c
===================================================================
*** gcc.dg/tree-ssa/sra-3.c	(revision 145496)
--- gcc.dg/tree-ssa/sra-3.c	(working copy)
*************** copystruct1 (void)
*** 24,28 ****
  }
  
  /* There should be no reference to link_error. */
! /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail *-*-* } } } */
  /* { dg-final { cleanup-tree-dump "optimized" } } */
--- 24,28 ----
  }
  
  /* There should be no reference to link_error. */
! /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" } } */
  /* { dg-final { cleanup-tree-dump "optimized" } } */
Index: gcc.dg/vect/no-vfa-vect-49.c
===================================================================
*** gcc.dg/vect/no-vfa-vect-49.c	(revision 145496)
--- gcc.dg/vect/no-vfa-vect-49.c	(working copy)
*************** int main (void)
*** 58,62 ****
    return 0;
  }
  
! /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
  /* { dg-final { cleanup-tree-dump "vect" } } */
--- 58,62 ----
    return 0;
  }
  
! /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
  /* { dg-final { cleanup-tree-dump "vect" } } */
Index: gcc.dg/vect/no-vfa-vect-53.c
===================================================================
*** gcc.dg/vect/no-vfa-vect-53.c	(revision 145496)
--- gcc.dg/vect/no-vfa-vect-53.c	(working copy)
*************** int main (void)
*** 59,63 ****
    return 0;
  }
  
! /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
  /* { dg-final { cleanup-tree-dump "vect" } } */
--- 59,63 ----
    return 0;
  }
  
! /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
  /* { dg-final { cleanup-tree-dump "vect" } } */
Index: gcc.dg/vect/no-vfa-vect-57.c
===================================================================
*** gcc.dg/vect/no-vfa-vect-57.c	(revision 145496)
--- gcc.dg/vect/no-vfa-vect-57.c	(working copy)
*************** int main (void)
*** 59,63 ****
    return 0;
  }
  
! /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
  /* { dg-final { cleanup-tree-dump "vect" } } */
--- 59,63 ----
    return 0;
  }
  
! /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
  /* { dg-final { cleanup-tree-dump "vect" } } */
Index: gcc.dg/vect/no-vfa-vect-61.c
===================================================================
*** gcc.dg/vect/no-vfa-vect-61.c	(revision 145496)
--- gcc.dg/vect/no-vfa-vect-61.c	(working copy)
*************** int main (void)
*** 61,65 ****
    return 0;
  }
  
! /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
  /* { dg-final { cleanup-tree-dump "vect" } } */
--- 61,65 ----
    return 0;
  }
  
! /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
  /* { dg-final { cleanup-tree-dump "vect" } } */


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