Bill, if there is still time, can you pull this into the release branch? > On Aug 26, 2014, at 10:12 PM, Justin Bogner <[email protected]> wrote: > > Author: bogner > Date: Wed Aug 27 00:12:35 2014 > New Revision: 216522 > > URL: http://llvm.org/viewvc/llvm-project?rev=216522&view=rev > Log: > Driver: Restore -fkeep-inline-functions as an ignored flag > > Several options were moved to the clang_ignored_gcc_optimization group > in r213365, but -fkeep-inline-functions was accidentally dropped. This > restores the flag. > > Patch by Steven Wu. Thanks! > > Modified: > cfe/trunk/include/clang/Driver/Options.td > cfe/trunk/test/Driver/clang_f_opts.c > > Modified: cfe/trunk/include/clang/Driver/Options.td > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=216522&r1=216521&r2=216522&view=diff > ============================================================================== > --- cfe/trunk/include/clang/Driver/Options.td (original) > +++ cfe/trunk/include/clang/Driver/Options.td Wed Aug 27 00:12:35 2014 > @@ -1623,7 +1623,7 @@ multiclass BooleanFFlag<string name> { > def _fno : Flag<["-"], "fno-"#name>; > } > > -defm : BooleanFFlag<"no-keep-inline-functions">, > Group<clang_ignored_gcc_optimization_f_Group>; > +defm : BooleanFFlag<"keep-inline-functions">, > Group<clang_ignored_gcc_optimization_f_Group>; > > def fprofile_dir : Joined<["-"], "fprofile-dir=">, > Group<clang_ignored_gcc_optimization_f_Group>; > > > Modified: cfe/trunk/test/Driver/clang_f_opts.c > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/clang_f_opts.c?rev=216522&r1=216521&r2=216522&view=diff > ============================================================================== > --- cfe/trunk/test/Driver/clang_f_opts.c (original) > +++ cfe/trunk/test/Driver/clang_f_opts.c Wed Aug 27 00:12:35 2014 > @@ -238,6 +238,7 @@ > // RUN: -fno-expensive-optimizations > \ > // RUN: -fno-defer-pop > \ > // RUN: -finline-functions > \ > +// RUN: -fkeep-inline-functions > \ > // RUN: -fno-keep-inline-functions > \ > // RUN: -freorder-blocks > \ > // RUN: -fprofile-dir=/rand/dir > \ > @@ -307,6 +308,7 @@ > // CHECK-WARNING-DAG: optimization flag '-fno-expensive-optimizations' is not > supported > // CHECK-WARNING-DAG: optimization flag '-fno-defer-pop' is not supported > // CHECK-WARNING-DAG: optimization flag '-finline-functions' is not supported > +// CHECK-WARNING-DAG: optimization flag '-fkeep-inline-functions' is not > supported > // CHECK-WARNING-DAG: optimization flag '-fno-keep-inline-functions' is not > supported > // CHECK-WARNING-DAG: optimization flag '-freorder-blocks' is not supported > // CHECK-WARNING-DAG: optimization flag '-fprofile-dir=/rand/dir' is not > supported > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
