https://bugs.llvm.org/show_bug.cgi?id=50192
Bug ID: 50192
Summary: Frontend crash when decomposing array
Product: clang
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++17
Assignee: unassignedclangb...@nondot.org
Reporter: koncek.mar...@gmail.com
CC: blitzrak...@gmail.com, erik.pilking...@gmail.com,
llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk
clang compiler crashes on the following:
https://godbolt.org/z/ecarnE7no
```
template<typename>
struct S
{
void f()
{
for (auto [news, olds] : (int[2][2]){{1,2}, {3,4}})
{
news = olds;
}
}
};
int main()
{
S<int> s;
s.f();
}
```
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs