8000 Crush with referencing non-static constexpr string. · Issue #37084 · llvm/llvm-project · GitHub
[go: up one dir, main page]

Skip to content
Crush with referencing non-static constexpr string. #37084
Open
@DenisYaroshevskiy

Description

@DenisYaroshevskiy
Bugzilla Link 37736
Version trunk
OS All
CC @DougGregor

Extended Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillac++clang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerinvalidResolved as invalid, i.e. not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0