[llvm-bugs] [Bug 50192] New: Frontend crash when decomposing array
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat May 1 05:09:55 PDT 2021
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: unassignedclangbugs at nondot.org
Reporter: koncek.marian at gmail.com
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210501/d8af1193/attachment.html>
More information about the llvm-bugs
mailing list