]> granicus.if.org Git - clang/commitdiff
the driver caught up. This makes -msse3 correctly set __SSE3__ etc.
authorChris Lattner <sabre@nondot.org>
Mon, 13 Apr 2009 06:33:49 +0000 (06:33 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 13 Apr 2009 06:33:49 +0000 (06:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68943 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-cc/clang-cc.cpp

index 9ff59b55fd1baab9e66cbde7b351efe0b5c50562..31515a9c123d1510de0cc468160c2e36972150dc 100644 (file)
@@ -647,9 +647,7 @@ static void InitializeLanguageStandard(LangOptions &Options, LangKind LK,
   // -mattr list is treated by the code generator as a diff against the -mcpu
   // setting, but the driver should pass all enabled options as "+" settings.
   // This means that the target should only look at + settings.
-  if (!TargetFeatures.empty()
-      // FIXME: The driver is not quite yet ready for this.
-      && 0) {
+  if (!TargetFeatures.empty()) {
     std::string ErrorStr;
     int Opt = Target->HandleTargetFeatures(&TargetFeatures[0],
                                            TargetFeatures.size(), ErrorStr);