When a non-const compound statement is used to initialize a constexpr pointer, the pointed value is not const itself and cannot be folded at codegen time. This matches GCC behavior for compound literal expr arrays. Fix issue #39324. Differential Revision: https://reviews.llvm.org/D124038
8.1 KiB
8.1 KiB