[llvm-bugs] [Bug 35783] New: Clang is unable to merge identical lambdas

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 31 06:20:13 PST 2017


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

            Bug ID: 35783
           Summary: Clang is unable to merge identical lambdas
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jeanmichael.celerier at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Case 1: https://godbolt.org/g/JvmxJr
Case 2: https://godbolt.org/g/FWo12z

Ideally, the compiler should be able to detect that the code is the same and
merge it. 

I opened a similar bug report in GCC:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83582

-- 
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/20171231/bf84b274/attachment.html>


More information about the llvm-bugs mailing list