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]

[tree-ssa] Remove XFAIL from several tests


All these g++ tests still fail.  g++.dg/parse/stack1.C is a stack blowup
problem at O0 (PR 12454) which I thought had been fixed by rth, but we
still fail at O0.

g++.old-deja/g++.bugs/900205_03.C and g++.old-deja/g++.mike/p646.C are
diagnostics not emitted by tree-ssa.

g++.old-deja/g++.ext/arrnew2.C is about the initializer for a global
variable apparently not running.

gcc.c-torture/execute/string-opt-19.x is the only that will not cause a
new regression.  string-opt-19.c no longer exists.


Diego.


	* g++.dg/parse/stack1.C: Remove XFAIL.
	* g++.old-deja/g++.bugs/900205_03.C: Likewise.
	* g++.old-deja/g++.ext/arrnew2.C: Likewise.
	* g++.old-deja/g++.mike/p646.C: Likewise.
	* gcc.c-torture/execute/string-opt-19.x: Remove.

Index: g++.dg/parse/stack1.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/parse/stack1.C,v
retrieving revision 1.1.10.1
diff -d -c -p -r1.1.10.1 stack1.C
*** g++.dg/parse/stack1.C	30 Sep 2003 07:40:37 -0000	1.1.10.1
--- g++.dg/parse/stack1.C	5 May 2004 16:19:45 -0000
***************
*** 1,7 ****
  /* PR c/2161: parser stack overflow.  */
! /* XFAIL on branch only -- PR 12454 */
! /* { dg-do compile { xfail *-*-* } } */
! /* { dg-excess-errors "" } */
  
  #define ONE	else if (0) { }
  #define TEN	ONE ONE ONE ONE ONE ONE ONE ONE ONE ONE
--- 1,5 ----
  /* PR c/2161: parser stack overflow.  */
! /* { dg-do compile } */
  
  #define ONE	else if (0) { }
  #define TEN	ONE ONE ONE ONE ONE ONE ONE ONE ONE ONE
Index: g++.old-deja/g++.bugs/900205_03.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.bugs/900205_03.C,v
retrieving revision 1.4.6.2
diff -d -c -p -r1.4.6.2 900205_03.C
*** g++.old-deja/g++.bugs/900205_03.C	11 Feb 2004 10:44:55 -0000	1.4.6.2
--- g++.old-deja/g++.bugs/900205_03.C	5 May 2004 16:19:46 -0000
***************
*** 18,27 ****
  struct struct00 { };
  
  int global_function_0 () {
! }					// { dg-error "" "" { xfail *-*-* } }
  
  struct00 global_function_1 () {
! }					// { dg-error "" "" { xfail *-*-* } }
  
  struct struct0 {
  
--- 18,27 ----
  struct struct00 { };
  
  int global_function_0 () {
! }					// { dg-error "" } 
  
  struct00 global_function_1 () {
! }					// { dg-error "" } 
  
  struct struct0 {
  
*************** struct struct1 {
*** 41,49 ****
  };
  
  int struct1_member_function_0 () {
! }					// { dg-error "" "" { xfail *-*-* } }
  
  struct1 struct1::struct1_member_function_1 () {
! }				        // { dg-error "" "" { xfail *-*-* } }
  
  int main () { return 0; }
--- 41,49 ----
  };
  
  int struct1_member_function_0 () {
! }					// { dg-error "" } 
  
  struct1 struct1::struct1_member_function_1 () {
! }				        // { dg-error "" } 
  
  int main () { return 0; }
Index: g++.old-deja/g++.ext/arrnew2.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.ext/arrnew2.C,v
retrieving revision 1.3.48.2
diff -d -c -p -r1.3.48.2 arrnew2.C
*** g++.old-deja/g++.ext/arrnew2.C	18 Nov 2003 06:24:37 -0000	1.3.48.2
--- g++.old-deja/g++.ext/arrnew2.C	5 May 2004 16:19:46 -0000
***************
*** 1,4 ****
! // { dg-do run { xfail *-*-* } }
  // { dg-options "-w -fpermissive" }
  
  int *foo = new int[1](42); // { dg-bogus "" }
--- 1,4 ----
! // { dg-do run }
  // { dg-options "-w -fpermissive" }
  
  int *foo = new int[1](42); // { dg-bogus "" }
Index: g++.old-deja/g++.mike/p646.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.mike/p646.C,v
retrieving revision 1.6.26.3
diff -d -c -p -r1.6.26.3 p646.C
*** g++.old-deja/g++.mike/p646.C	11 Feb 2004 10:44:54 -0000	1.6.26.3
--- g++.old-deja/g++.mike/p646.C	5 May 2004 16:19:46 -0000
***************
*** 1,6 ****
  // { dg-do assemble  }
  // { dg-options "-Wno-deprecated -Wreturn-type" }
- //
  // GROUPS passed i960
  /*
    Bug Id: bnr
--- 1,5 ----
*************** warn_return_1 ()
*** 102,108 ****
  {
    foo f;
    printf ("returning 1\n");
! }                              // { dg-warning "" "" { xfail *-*-* } } control reaches end
  
  int
  warn_return_arg (int arg)
--- 101,107 ----
  {
    foo f;
    printf ("returning 1\n");
! }                              // { dg-warning "" } control reaches end
  
  int
  warn_return_arg (int arg)
*************** warn_return_arg (int arg)
*** 110,116 ****
    foo f;
    printf ("returning %d\n", arg);
    arg;
! }                              // { dg-warning "" "" { xfail *-*-* } } control reaches end
  
  int
  warn_return_sum (int x, int y)
--- 109,115 ----
    foo f;
    printf ("returning %d\n", arg);
    arg;
! }                              // { dg-warning "" } control reaches end
  
  int
  warn_return_sum (int x, int y)
*************** warn_return_sum (int x, int y)
*** 118,137 ****
    foo f;
    printf ("returning %d+%d\n", x, y);
    x + y;
! }                              // { dg-warning "" "" { xfail *-*-* } } control reaches end
  
  foo
  warn_return_foo ()
  {
    foo f;
    printf ("returning foo\n");
! }                              // { dg-warning "" "" { xfail *-*-* } } control reaches end
  
  foo
  warn_foo_parm_returns_foo (foo f)
  {
    f;
! }                              // { dg-warning "" "" { xfail *-*-* } } control reaches end
  
  main ()
  {				// { dg-warning "" } no type
--- 117,136 ----
    foo f;
    printf ("returning %d+%d\n", x, y);
    x + y;
! }                              // { dg-warning "" } control reaches end
  
  foo
  warn_return_foo ()
  {
    foo f;
    printf ("returning foo\n");
! }                              // { dg-warning "" } control reaches end
  
  foo
  warn_foo_parm_returns_foo (foo f)
  {
    f;
! }                              // { dg-warning "" } control reaches end
  
  main ()
  {				// { dg-warning "" } no type
Index: gcc.c-torture/execute/string-opt-19.x
===================================================================
RCS file: gcc.c-torture/execute/string-opt-19.x
diff -N gcc.c-torture/execute/string-opt-19.x
*** gcc.c-torture/execute/string-opt-19.x	13 May 2003 02:18:14 -0000	1.1.2.1
--- /dev/null	1 Jan 1970 00:00:00 -0000
***************
*** 1,5 ****
- # We can't replace the call to stpcpy with an inlined memcpy due
- # to limitations in how we gimplify builtins.  Expect execution
- # failures at all optimization levels until we can fix this.
- set torture_execute_xfail [istarget]
- return 0
--- 0 ----


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