[llvm-bugs] [Bug 36265] New: -fconstexpr-steps switch doesn't work as expected on Windows

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 7 05:05:10 PST 2018


            Bug ID: 36265
           Summary: -fconstexpr-steps switch doesn't work as expected on
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lminkovsky at outlook.com
                CC: llvm-bugs at lists.llvm.org

Per Richard Smith:
-Xclang passes arguments directly to clang's internal -cc1 frontend, which has
a slightly different command line argument format for some flags. In this case,
it needs the flag and its argument to be presented separately:

-Xclang -fconstexpr-steps -Xclang 100000

That said, we really should expose the -fconstexpr-steps= flag within the
clang-cl driver (the GCC-compatible clang driver exposes it).

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180207/80874812/attachment.html>

More information about the llvm-bugs mailing list