Issue 146270
Summary CodeGen ICE on Compiler Explorer
Labels new issue
Assignees
Reporter katzdm
    The following program ICE's on Compiler Explorer:

```cpp
#include <array>
#include <string_view>

consteval std::array<std::string_view, 200000> fn() {  return {}; }
int main() { auto v = fn(); }
```
https://godbolt.org/z/51zbz1G66

When the size of the array is reduced, no crash occurs. Note, I'm unable to reproduce the issue on my local build (Mac M3).
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to