clang does not support -fno-regmove

This commit is contained in:
Adam Vandenberg 2014-05-08 09:29:32 -07:00
parent d90d3651b7
commit f0f1cf2024

View File

@ -157,7 +157,8 @@ class Cmd
'-mno-dynamic-no-pic', '-fearly-inlining', '-finline-functions-called-once',
/^-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'
'-frerun-cse-after-loop', '-frerun-loop-opt', '-fcse-follow-jumps',
'-fno-regmove'
# clang doesn't support these flags
args << arg if not tool =~ /^clang/
when /^-W[alp],/, /^-Wno-/