summaryrefslogtreecommitdiff
path: root/test/Frontend/backend-diagnostic.c
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-09 23:59:38 +0000
committerAlp Toker <alp@nuanti.com>2014-06-09 23:59:38 +0000
commit5ecb6106a89514b83481e6a3abe4de2d76591a99 (patch)
tree09b1ae082bb12a5fbb1e7133a8018ace66d11d1f /test/Frontend/backend-diagnostic.c
parentfbd6f315afb495f2041963c91ce6d536d6d6b23d (diff)
downloadclang-5ecb6106a89514b83481e6a3abe4de2d76591a99.tar.gz
clang-5ecb6106a89514b83481e6a3abe4de2d76591a99.tar.bz2
clang-5ecb6106a89514b83481e6a3abe4de2d76591a99.tar.xz
Make '-Werror=frame-larger-than=' and associated diagnostic pragmas GCC-compatible
It turns out the trailing '=' really is part of the option name spelling and treating it as such gets us compatible with GCC's -Werror= and pragmas. (GCC doesn't appear to support any -Wno- form for this diagnostic but we do.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210503 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Frontend/backend-diagnostic.c')
-rw-r--r--test/Frontend/backend-diagnostic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Frontend/backend-diagnostic.c b/test/Frontend/backend-diagnostic.c
index d6fe48bc9c..1fe4fdb5b9 100644
--- a/test/Frontend/backend-diagnostic.c
+++ b/test/Frontend/backend-diagnostic.c
@@ -6,9 +6,9 @@
//
// RUN: not %clang_cc1 %s -mllvm -warn-stack-size=0 -no-integrated-as -S -o - -triple=i386-apple-darwin 2> %t.err
// RUN: FileCheck < %t.err %s --check-prefix=REGULAR --check-prefix=ASM
-// RUN: not %clang_cc1 %s -mllvm -warn-stack-size=0 -no-integrated-as -S -o - -triple=i386-apple-darwin -Werror=frame-larger-than 2> %t.err
+// RUN: not %clang_cc1 %s -mllvm -warn-stack-size=0 -no-integrated-as -S -o - -triple=i386-apple-darwin -Werror=frame-larger-than= 2> %t.err
// RUN: FileCheck < %t.err %s --check-prefix=PROMOTE --check-prefix=ASM
-// RUN: not %clang_cc1 %s -mllvm -warn-stack-size=0 -no-integrated-as -S -o - -triple=i386-apple-darwin -Wno-frame-larger-than 2> %t.err
+// RUN: not %clang_cc1 %s -mllvm -warn-stack-size=0 -no-integrated-as -S -o - -triple=i386-apple-darwin -Wno-frame-larger-than= 2> %t.err
// RUN: FileCheck < %t.err %s --check-prefix=IGNORE --check-prefix=ASM
//
// RUN: %clang_cc1 %s -S -o - -triple=i386-apple-darwin -verify -no-integrated-as