From: Sylvestre Ledru Date: Fri, 4 Jul 2014 08:59:41 +0000 (+0000) Subject: gcc comptability: silent -fdefer-pop & -fno-defer-pop X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ccfb3a144ad616765d8e355dffa20d1ebdd2caa;p=platform%2Fupstream%2Fllvm.git gcc comptability: silent -fdefer-pop & -fno-defer-pop Reviewers: rafael, rnk Reviewed By: rnk Subscribers: rnk, cfe-commits Differential Revision: http://reviews.llvm.org/D4357 llvm-svn: 212327 --- diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index 396b02f..6569858 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -469,6 +469,8 @@ def fexceptions : Flag<["-"], "fexceptions">, Group, Flags<[CC1Option]> def : Flag<["-"], "fexpensive-optimizations">, Group; def : Flag<["-"], "fno-expensive-optimizations">, Group; def fextdirs_EQ : Joined<["-"], "fextdirs=">, Group; +def : Flag<["-"], "fdefer-pop">, Group; +def : Flag<["-"], "fno-defer-pop">, Group; def : Flag<["-"], "fextended-identifiers">, Group; def : Flag<["-"], "fno-extended-identifiers">, Group, Flags<[Unsupported]>; def fhosted : Flag<["-"], "fhosted">, Group; diff --git a/clang/test/Driver/clang_f_opts.c b/clang/test/Driver/clang_f_opts.c index 664ee8a..c5ebe6c 100644 --- a/clang/test/Driver/clang_f_opts.c +++ b/clang/test/Driver/clang_f_opts.c @@ -147,6 +147,7 @@ // 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 \