]> granicus.if.org Git - clang/commitdiff
gcc comptability: silent -fdefer-pop & -fno-defer-pop
authorSylvestre Ledru <sylvestre@debian.org>
Fri, 4 Jul 2014 08:59:41 +0000 (08:59 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 4 Jul 2014 08:59:41 +0000 (08:59 +0000)
Reviewers: rafael, rnk

Reviewed By: rnk

Subscribers: rnk, cfe-commits

Differential Revision: http://reviews.llvm.org/D4357

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212327 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/Options.td
test/Driver/clang_f_opts.c

index 396b02fc67f3dc71e9e7ba4e15a1f5fbee2a1d3c..6569858338f5e860abf59958fec03d2b6a73d442 100644 (file)
@@ -469,6 +469,8 @@ def fexceptions : Flag<["-"], "fexceptions">, Group<f_Group>, Flags<[CC1Option]>
 def : Flag<["-"], "fexpensive-optimizations">, Group<clang_ignored_f_Group>;
 def : Flag<["-"], "fno-expensive-optimizations">, Group<clang_ignored_f_Group>;
 def fextdirs_EQ : Joined<["-"], "fextdirs=">, Group<f_Group>;
+def : Flag<["-"], "fdefer-pop">, Group<clang_ignored_f_Group>;
+def : Flag<["-"], "fno-defer-pop">, Group<clang_ignored_f_Group>;
 def : Flag<["-"], "fextended-identifiers">, Group<clang_ignored_f_Group>;
 def : Flag<["-"], "fno-extended-identifiers">, Group<f_Group>, Flags<[Unsupported]>;
 def fhosted : Flag<["-"], "fhosted">, Group<f_Group>;
index 664ee8a3a4f1a5965aef37af24604f007b7ca1f0..c5ebe6cc4533b29f28d327ea67033e6533e52f40 100644 (file)
 // RUN:     -fivopts -fno-ivopts                                              \
 // RUN:     -fnon-call-exceptions -fno-non-call-exceptions                    \
 // RUN:     -fpermissive -fno-permissive                                      \
+// RUN:     -fdefer-pop -fno-defer-pop                                        \
 // RUN:     -fprefetch-loop-arrays -fno-prefetch-loop-arrays                  \
 // RUN:     -fprofile-correction -fno-profile-correction                      \
 // RUN:     -fprofile-dir=bar                                                 \