]> granicus.if.org Git - clang/commit
GCC compatibility: Create a Group to ignore unsupported optimization.
authorSylvestre Ledru <sylvestre@debian.org>
Fri, 11 Jul 2014 11:43:57 +0000 (11:43 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 11 Jul 2014 11:43:57 +0000 (11:43 +0000)
commite2b32738e0873ba3b916ff46841b8c588dea57eb
treef19f3cbb28c2d5cb3c626c122ab60a7ac569eb63
parent3e0fef67a6def9631840ff038b64c6a332806bdc
GCC compatibility: Create a Group to ignore unsupported optimization.

Returns a warning when using an unknown optimization flag.
This patch includes -finline-limit as one of those ignored flags.
More options will be moved in this group

Patch by Arthur Marble <arthur@info9.net> in the context of
Debian Google Summer of code 2014.

Reviewers: rnk, Sylvestre

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212805 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
test/Driver/clang_f_opts.c