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
This commit is contained in:
Dale Johannesen 2008-06-10 18:00:09 +00:00
parent 287abdb357
commit 6a02432574
8 changed files with 8 additions and 8 deletions

View File

@ -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 /* These are random tests that I used when working on the GCC frontend
originally. */ originally. */

View File

@ -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

View File

@ -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 { typedef struct BF {

View File

@ -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) { void test(enum foo *X) {
} }

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc %s -S -o - // RUN: %llvmgcc -w %s -S -o -
// PR854 // PR854
struct kernel_symbol { struct kernel_symbol {
unsigned long value; unsigned long value;

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc -S %s -o - // RUN: %llvmgcc -S -w %s -o -
// PR1170 // PR1170
int f(int a, struct {int b[a];} c) { return c.b[0]; } int f(int a, struct {int b[a];} c) { return c.b[0]; }

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc %s -S -o - // RUN: %llvmgcc %s -w -S -o -
void* p (int n) { void* p (int n) {
struct f { struct f {
char w; char x[n]; char z[]; char w; char x[n]; char z[];

View File

@ -1,4 +1,4 @@
// RUN: %llvmgcc -S -o /dev/null %s // RUN: %llvmgcc -w -S -o /dev/null %s
// PR2264. // PR2264.
unsigned foo = 8L; unsigned foo = 8L;
unsigned bar = 0L; unsigned bar = 0L;