Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2748)

Issue 4289045: [google] XFAIL some guality tests (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by Diego Novillo
Modified:
13 years, 1 month ago
Reviewers:
Base URL:
svn+ssh://gcc.gnu.org/svn/gcc/branches/google/integration/gcc/
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M testsuite/gcc.dg/guality/sra-1.c View 1 chunk +1 line, -1 line 0 comments Download
M testsuite/gcc.dg/guality/vla-1.c View 1 chunk +2 lines, -2 lines 0 comments Download
M testsuite/gcc.dg/guality/vla-2.c View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 1
Diego Novillo
13 years, 1 month ago (2011-03-14 23:16:04 UTC) #1
These tests fail on trunk as well as google/integration.  XFAILing to
pacify testers.

Tested on x86_64/{-m32,-m64}.  Committed to google/integration.


2011-03-14  Diego Novillo  <dnovillo@google.com>

	* gcc.dg/guality/vla-1.c: XFAIL.
	* gcc.dg/guality/vla-2.c: XFAIL.
	* gcc.dg/guality/sra-1.c: XFAIL.

Index: testsuite/gcc.dg/guality/vla-1.c
===================================================================
--- testsuite/gcc.dg/guality/vla-1.c	(revision 170776)
+++ testsuite/gcc.dg/guality/vla-1.c	(working copy)
@@ -14,14 +14,14 @@ f1 (int i)
 {
   char a[i + 1];
   a[0] = 5;		/* { dg-final { gdb-test 17 "i" "5" } } */
-  return a[0];		/* { dg-final { gdb-test 17 "sizeof (a)" "6" } } */
+  return a[0];		/* { dg-final { gdb-test 17 "sizeof (a)" "6" { xfail *-*-* } }
} */
 }
 
 int __attribute__((noinline))
 f2 (int i)
 {
   short a[i * 2 + 7];	/* { dg-final { gdb-test 24 "i" "5" } } */
-  bar (a);		/* { dg-final { gdb-test 24 "sizeof (a)" "17 * sizeof (short)" } }
*/
+  bar (a);		/* { dg-final { gdb-test 24 "sizeof (a)" "17 * sizeof (short)" {
xfail *-*-* } } } */
   return a[i + 4];
 }
 
Index: testsuite/gcc.dg/guality/vla-2.c
===================================================================
--- testsuite/gcc.dg/guality/vla-2.c	(revision 170776)
+++ testsuite/gcc.dg/guality/vla-2.c	(working copy)
@@ -13,7 +13,7 @@ fn2 (int i)
 {
   int a[i];
   fn1 (a, i);
-  fn1 (a, i);		/* { dg-final { gdb-test 16 "sizeof (a)" "5 * sizeof (int)" } }
*/
+  fn1 (a, i);		/* { dg-final { gdb-test 16 "sizeof (a)" "5 * sizeof (int)" {
xfail *-*-* } } } */
   return i;
 }
 
@@ -22,7 +22,7 @@ fn3 (int i)
 {
   int a[i];
   fn1 (a, i);
-  fn1 (a, i);		/* { dg-final { gdb-test 25 "sizeof (a)" "6 * sizeof (int)" } }
*/
+  fn1 (a, i);		/* { dg-final { gdb-test 25 "sizeof (a)" "6 * sizeof (int)" {
xfail *-*-* } } } */
   return i;
 }
 
Index: testsuite/gcc.dg/guality/sra-1.c
===================================================================
--- testsuite/gcc.dg/guality/sra-1.c	(revision 170776)
+++ testsuite/gcc.dg/guality/sra-1.c	(working copy)
@@ -40,7 +40,7 @@ f3 (int k)
   asm ("" : "+r" (a.i));
   a.j++;
   bar (a.i);		/* { dg-final { gdb-test 43 "a.i" "4" } } */
-  bar (a.j);		/* { dg-final { gdb-test 43 "a.j" "14" } } */
+  bar (a.j);		/* { dg-final { gdb-test 43 "a.j" "14" { xfail *-*-* } } } */
   return a.i + a.j;
 }
 

--
This patch is available for review at http://codereview.appspot.com/4289045
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b