Issue |
104810
|
Summary |
Crash for structured binding assignment and -fopenmp
|
Labels |
new issue
|
Assignees |
|
Reporter |
MatzeB
|
The following reduced example crashes clang:
```
template <typename _T1, typename _T2> struct pair {
_T1 first;
_T2 second;
};
extern pair<int, int> samplePrematchFeatureVectorWithMaskMap0;
auto [PrematchFeatureVector, featureMaskMap] = samplePrematchFeatureVectorWithMaskMap0;
void fixedMTMLModel() {
featureMaskMap;
}
```
```
$ clang++ -c -std=gnu++20 -fopenmp repro.cpp
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs