https://bugs.llvm.org/show_bug.cgi?id=38322

            Bug ID: 38322
           Summary: constexpr for __builtin_lround family functions
           Product: clang
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: ankur.de...@tuta.io
                CC: llvm-bugs@lists.llvm.org

Hi,
It would be nice to be able to use the __builtin_lround family functions in
constexpr expressions. GCC is supporting this, it would allow the same code to
compile with both compilers.

example:
constexpr long val = __builtin_lround(2.5);

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to