Refurbish two more flags not supported by clang

'-fno-tree-pre' and '-fno-tree-dominator-opts'

Closes Homebrew/homebrew#29452.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Sergei Silnov 2014-05-21 18:58:16 +04:00 committed by Jack Nagel
parent bba2b76167
commit a64f2e737c

View File

@ -163,7 +163,7 @@ class Cmd
/^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks',
'-fcaller-saves', '-fthread-jumps', '-fno-reorder-blocks', '-fcse-skip-blocks',
'-frerun-cse-after-loop', '-frerun-loop-opt', '-fcse-follow-jumps',
'-fno-regmove', '-fno-for-scope'
'-fno-regmove', '-fno-for-scope', '-fno-tree-pre', '-fno-tree-dominator-opts'
# clang doesn't support these flags
args << arg if not tool =~ /^clang/
when /^-W[alp],/, /^-Wno-/