summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/noinline.c
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-03-15 22:31:42 +0000
committerChad Rosier <mcrosier@apple.com>2012-03-15 22:31:42 +0000
commit9c76d24f9c562045aea28198ab0dcd0e81f37380 (patch)
tree1d8e894c9d4bc598af886fa406473b6a38565abe /clang/test/CodeGen/noinline.c
parent378f87775834552e5c08ea91aa5a280ced079e9b (diff)
downloadbcm5719-llvm-9c76d24f9c562045aea28198ab0dcd0e81f37380.tar.gz
bcm5719-llvm-9c76d24f9c562045aea28198ab0dcd0e81f37380.zip
[frontend] Fix how the frontend handles -fno-inline. AFAIK clang now matches
the behavior of gcc with respect to the -fno-inline and -fno-inline-functions flags. llvm-svn: 152861
Diffstat (limited to 'clang/test/CodeGen/noinline.c')
-rw-r--r--clang/test/CodeGen/noinline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/noinline.c b/clang/test/CodeGen/noinline.c
index 45768815ab9..e64a1a539f4 100644
--- a/clang/test/CodeGen/noinline.c
+++ b/clang/test/CodeGen/noinline.c
@@ -1,7 +1,7 @@
// Make sure -fno-inline-functions is behaving correctly.
// rdar://10972766
-// RUN: %clang_cc1 -O3 -fno-inline-functions -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
+// RUN: %clang_cc1 -O3 -fno-inline -fno-inline-functions -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
inline int dont_inline_me(int a, int b) { return(a+b); }
OpenPOWER on IntegriCloud