These are only XFAILs with llvmgcc3, they pass with llvmgcc4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27658 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CFrontend/2003-01-30-UnionInit.c b/test/CFrontend/2003-01-30-UnionInit.c
index 3e11637..b33ae02 100644
--- a/test/CFrontend/2003-01-30-UnionInit.c
+++ b/test/CFrontend/2003-01-30-UnionInit.c
@@ -1,6 +1,5 @@
// RUN: %llvmgcc -S %s -o /dev/null
-
-// XFAIL: *
+// XFAIL: llvmgcc3
union foo {
struct { char A, B; } X;
diff --git a/test/CFrontend/2003-08-30-AggregateInitializer.c b/test/CFrontend/2003-08-30-AggregateInitializer.c
index c8ddbb8..f5d5ca9 100644
--- a/test/CFrontend/2003-08-30-AggregateInitializer.c
+++ b/test/CFrontend/2003-08-30-AggregateInitializer.c
@@ -1,6 +1,6 @@
// RUN: %llvmgcc -S %s -o /dev/null
-// XFAIL: *
+// XFAIL: llvmgcc3
struct istruct {
unsigned char C;
diff --git a/test/CFrontend/2004-01-01-UnknownInitSize.c b/test/CFrontend/2004-01-01-UnknownInitSize.c
index 7de3aba..f9367be 100644
--- a/test/CFrontend/2004-01-01-UnknownInitSize.c
+++ b/test/CFrontend/2004-01-01-UnknownInitSize.c
@@ -1,9 +1,9 @@
// RUN: %llvmgcc -S %s -o /dev/null
+// XFAIL: llvmgcc3
/*
* This regression test ensures that the C front end can compile initializers
* even when it cannot determine the size (as below).
- * XFAIL: *
*/
struct one
{
diff --git a/test/CFrontend/2005-10-18-VariableSizedElementCrash.c b/test/CFrontend/2005-10-18-VariableSizedElementCrash.c
index 9efa110..290e7cd 100644
--- a/test/CFrontend/2005-10-18-VariableSizedElementCrash.c
+++ b/test/CFrontend/2005-10-18-VariableSizedElementCrash.c
@@ -1,5 +1,6 @@
// RUN: %llvmgcc %s -S -o -
-// XFAIL: *
+// XFAIL: llvmgcc3
+
int sub1(int i, char *pi) {
typedef int foo[i];
struct bar {foo f1; int f2:3; int f3:4} *p = (struct bar *) pi;
diff --git a/test/CFrontend/2006-01-13-StackSave.c b/test/CFrontend/2006-01-13-StackSave.c
index a14123c..b606c29 100644
--- a/test/CFrontend/2006-01-13-StackSave.c
+++ b/test/CFrontend/2006-01-13-StackSave.c
@@ -1,5 +1,5 @@
// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep llvm.stacksave
-// XFAIL: *
+// XFAIL: llvmgcc3
// PR691
diff --git a/test/CFrontend/2006-01-23-FileScopeAsm.c b/test/CFrontend/2006-01-23-FileScopeAsm.c
index 69a2858..7ee4a51 100644
--- a/test/CFrontend/2006-01-23-FileScopeAsm.c
+++ b/test/CFrontend/2006-01-23-FileScopeAsm.c
@@ -1,5 +1,5 @@
// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep foo[12345] | wc -l | grep 5
-// XFAIL: *
+// XFAIL: llvmgcc3
__asm__ ("foo1");
__asm__ ("foo2");
diff --git a/test/CFrontend/2006-03-16-VectorCtor.c b/test/CFrontend/2006-03-16-VectorCtor.c
index 3844514..0ef4e69 100644
--- a/test/CFrontend/2006-03-16-VectorCtor.c
+++ b/test/CFrontend/2006-03-16-VectorCtor.c
@@ -1,6 +1,7 @@
-// Passes with the new CFE.
+// Test that basic generic vector support works
+
// RUN: %llvmgcc %s -S -o -
-// XFAIL: *
+// XFAIL: llvmgcc3
typedef int v4si __attribute__ ((__vector_size__ (16)));
void test(v4si *P, v4si *Q, float X) {