diff options
author | Dale Johannesen <dalej@apple.com> | 2008-06-10 18:00:09 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-06-10 18:00:09 +0000 |
commit | 6a0243257410e7b4071b73a820915cbeb8abfe88 (patch) | |
tree | aa693b5e5ef2d6e9b9d59bdf2dffd806d250c0d3 | |
parent | 287abdb3575fef73630e6d98aa1a1fbf441528ee (diff) | |
download | external_llvm-6a0243257410e7b4071b73a820915cbeb8abfe88.zip external_llvm-6a0243257410e7b4071b73a820915cbeb8abfe88.tar.gz external_llvm-6a0243257410e7b4071b73a820915cbeb8abfe88.tar.bz2 |
Add -w to inhibit gcc warnings, which causes the
harness to fail the tests. The warning all appear
legitimate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52186 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/FrontendC/2002-07-14-MiscTests.c | 2 | ||||
-rw-r--r-- | test/FrontendC/2002-07-14-MiscTests3.c | 2 | ||||
-rw-r--r-- | test/FrontendC/2003-09-18-BitfieldTests.c | 2 | ||||
-rw-r--r-- | test/FrontendC/2004-05-21-IncompleteEnum.c | 2 | ||||
-rw-r--r-- | test/FrontendC/2006-07-31-PR854.c | 2 | ||||
-rw-r--r-- | test/FrontendC/2007-02-16-VariableSizeStructArg.c | 2 | ||||
-rw-r--r-- | test/FrontendC/2007-03-06-VarSizeInStruct1.c | 2 | ||||
-rw-r--r-- | test/FrontendC/2008-05-12-TempUsedBeforeDef.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/test/FrontendC/2002-07-14-MiscTests.c b/test/FrontendC/2002-07-14-MiscTests.c index e78dbd7..02703e2 100644 --- a/test/FrontendC/2002-07-14-MiscTests.c +++ b/test/FrontendC/2002-07-14-MiscTests.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null +// RUN: %llvmgcc -w -S %s -o - | llvm-as -f -o /dev/null /* These are random tests that I used when working on the GCC frontend originally. */ diff --git a/test/FrontendC/2002-07-14-MiscTests3.c b/test/FrontendC/2002-07-14-MiscTests3.c index 9a262d5..773193c 100644 --- a/test/FrontendC/2002-07-14-MiscTests3.c +++ b/test/FrontendC/2002-07-14-MiscTests3.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null +// RUN: %llvmgcc -w -S %s -o - | llvm-as -f -o /dev/null diff --git a/test/FrontendC/2003-09-18-BitfieldTests.c b/test/FrontendC/2003-09-18-BitfieldTests.c index 3a7879b..900a7fd 100644 --- a/test/FrontendC/2003-09-18-BitfieldTests.c +++ b/test/FrontendC/2003-09-18-BitfieldTests.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null +// RUN: %llvmgcc -w -S %s -o - | llvm-as -f -o /dev/null typedef struct BF { diff --git a/test/FrontendC/2004-05-21-IncompleteEnum.c b/test/FrontendC/2004-05-21-IncompleteEnum.c index 3636ca7..106df5e 100644 --- a/test/FrontendC/2004-05-21-IncompleteEnum.c +++ b/test/FrontendC/2004-05-21-IncompleteEnum.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null +// RUN: %llvmgcc -w -S %s -o - | llvm-as -f -o /dev/null void test(enum foo *X) { } diff --git a/test/FrontendC/2006-07-31-PR854.c b/test/FrontendC/2006-07-31-PR854.c index 516085a..3802de8 100644 --- a/test/FrontendC/2006-07-31-PR854.c +++ b/test/FrontendC/2006-07-31-PR854.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc %s -S -o - +// RUN: %llvmgcc -w %s -S -o - // PR854 struct kernel_symbol { unsigned long value; diff --git a/test/FrontendC/2007-02-16-VariableSizeStructArg.c b/test/FrontendC/2007-02-16-VariableSizeStructArg.c index fd07cd8..ec6971a 100644 --- a/test/FrontendC/2007-02-16-VariableSizeStructArg.c +++ b/test/FrontendC/2007-02-16-VariableSizeStructArg.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc -S %s -o - +// RUN: %llvmgcc -S -w %s -o - // PR1170 int f(int a, struct {int b[a];} c) { return c.b[0]; } diff --git a/test/FrontendC/2007-03-06-VarSizeInStruct1.c b/test/FrontendC/2007-03-06-VarSizeInStruct1.c index 8d28a1d..b4ae565 100644 --- a/test/FrontendC/2007-03-06-VarSizeInStruct1.c +++ b/test/FrontendC/2007-03-06-VarSizeInStruct1.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc %s -S -o - +// RUN: %llvmgcc %s -w -S -o - void* p (int n) { struct f { char w; char x[n]; char z[]; diff --git a/test/FrontendC/2008-05-12-TempUsedBeforeDef.c b/test/FrontendC/2008-05-12-TempUsedBeforeDef.c index 5c3bfda..21724c1 100644 --- a/test/FrontendC/2008-05-12-TempUsedBeforeDef.c +++ b/test/FrontendC/2008-05-12-TempUsedBeforeDef.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc -S -o /dev/null %s +// RUN: %llvmgcc -w -S -o /dev/null %s // PR2264. unsigned foo = 8L; unsigned bar = 0L; |