* [google] XFAIL some guality tests (issue4289045)
@ 2011-03-14 23:16 Diego Novillo
0 siblings, 0 replies; only message in thread
From: Diego Novillo @ 2011-03-14 23:16 UTC (permalink / raw)
To: gcc-patches, reply
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-14 23:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-14 23:16 [google] XFAIL some guality tests (issue4289045) Diego Novillo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).