From 6a0243257410e7b4071b73a820915cbeb8abfe88 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Tue, 10 Jun 2008 18:00:09 +0000 Subject: [PATCH] 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 --- test/FrontendC/2002-07-14-MiscTests.c | 2 +- test/FrontendC/2002-07-14-MiscTests3.c | 2 +- test/FrontendC/2003-09-18-BitfieldTests.c | 2 +- test/FrontendC/2004-05-21-IncompleteEnum.c | 2 +- test/FrontendC/2006-07-31-PR854.c | 2 +- test/FrontendC/2007-02-16-VariableSizeStructArg.c | 2 +- test/FrontendC/2007-03-06-VarSizeInStruct1.c | 2 +- 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 e78dbd72eb9..02703e26916 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 9a262d5fcef..773193cefd4 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 3a7879bfb5c..900a7fdd660 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 3636ca74293..106df5e48fc 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 516085ae48f..3802de8fc45 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 fd07cd8176f..ec6971acdb1 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 8d28a1dbd58..b4ae5654931 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 5c3bfdaf64c..21724c1c830 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;