<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/104810>104810</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Crash for structured binding assignment and -fopenmp
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          MatzeB
      </td>
    </tr>
</table>

<pre>
    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
```

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycU02vmzAQ_DXLZZXI2EDCgUOTNKdG6uGpPVbGXsCtwcg276O_vjLJ-9BTTpWQjQfPjFnPyhBMPxE1UB6gPGVyiYPzzUXGv3TIWqdfmoeBsHPWuicz9ehJL4o00rMcZ0uovAwDBVRWTj2IL8BOwF7Hit2edRlpnK2MhCCO8WWmSY6Evx5y4Ef8sOYgvmKIflERZ2k8wu5wFUibsTM-RBCvUCJgIOUm_QbC7vT-vo70HMlPqxyIo5li8kxTslp_5LunUUY1nEnGxdMPUtH5nyYOFxn-XOTMPinKJTqE8nCXl9S7K3CjQ3lCEKf_NHt0RmNnnklfHi7fLk6TBb4HXn-oDeJny4_luHcf90Fe3O6SH4AfcKNwE6IGceqn5YpxhpvOzTSNM3qavduqeb4rlulG6FrUMqMm3_GC7UUpWDY0edEWrGKV0CQ01R0XuShlTaoS-1qVVWYaztL-vM4rVgq2Lbpyt5daFKptq6JroWA0SmO31j6OW-f7zISwUJOzYp-zzMqWbFhTzflET7h-Bc5TyH2TSJt26QMUzJoQw7tMNNFSc0yxxs75WxIXTxpbM-nUA9emGWmKKCf9Voxs8bYZYpxD6gN-Bn7uTRyWdqvcCPycLG7TZvbuN6kI_LweLAA_307-2PB_AQAA___ndhg3">