[llvm-bugs] [Bug 37736] New: Crush with referencing non-static constexpr string.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 7 09:10:22 PDT 2018


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

            Bug ID: 37736
           Summary: Crush with referencing non-static constexpr string.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: denis.yaroshevskij at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Hi!

We recently got a crush, that boils can be fixed by marking constexpr char[] as
static.
If we check this in clang 6.0 - the codegen is identical for both static and
non-static. It's not the case in trunk.

Here's godbolt: https://godbolt.org/g/R4WhUQ

Best,
Denis

-- 
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/20180607/85ef73f8/attachment.html>


More information about the llvm-bugs mailing list