<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJytVV1vpDYU_TXMy1UQNmaABx6S3VaN1KqV-vFaGWMGp8ZG_phs8ut7bUg3qaKuqt2RB4w_Dueee3wZ7fQ0_CC1tgX9UFQfi-p2v96Diwa4cNZ74CDsuinNg7IGhON-AWXgR2XiJyho9_sYTYhAurJiBe3BChGdU-YCjyosMNqwHNjn6mj5UWiOa67S-YRL6rIqyU1B77DRitKKYCNVxxD0rm1kXc8tEXTiN6Rov5OftnR7WUjrqmtYeT6_C80QuvoXdNUT1nQ4IEglWtZ1bdc270HjwnPVlJR170ZxD8EpOUGw4OQUhYSwSFRsknv4uFDsE9iDMQa42AAGaT1Ll_b4qAPwOUiXdxb0Ftu9wWfpA6popPf7IAQcSclYuZl8-TphPxv9dGy9CHEsx9zcA18hevVaDZKSpDCvo5aJ9p7dV7yFdU6KoJ_QFQfoT7_-8eFAxZ0zVzpBcg-P6J4Sfvu81QSujAdvVwlX7hSflEDi64b-kT4hZlk2q1KIPhFY5TpiN81hYOADOk2AvHIds-d8CW_MGQraepjUPCuRxEOIS0SV4HFB0RLBFIqTXGPfR5mB90EjH3eiPsR5hns0cnA2ZWd60QHDU0YCKlU0dxc7jVaHovmIYi4hbL6oUYXvsR1TpXUXfHrG__zcOuGuD-kUvMnOHfeIj4hZ4nyAtL3kgFUAL-WadVj4tkmTztbu39mhmiDN9AYMWQkUT8ikn92yQDdMdqRtSrFt5eX5XbYoehxLjBEftL6-3G42Zx8w2Yl-Ch7vbU-6pq6w96X30P7LlPzyrRiR_2K0v-YfQvn6i5YofMqrhJGLv3avgZrhyUa0AuZktckwZrZu3csbHy0e0bCgibJ3ytM01FNf9_zEY1isG_wDN1KfotPD_w4oQ6aImrpuutMy9J0gMyFj25KGndtqHGlPyHms5rphE-tPmo9S-wEVLihN7j0cTVHS09czUMNR5ihhNf5KOvei6eemYzPjDIsWq-SKx71MOMnrJzdkyDGigVmllQ_-8yT3XmHFkpkwMgwqaDnsdt4rfD7ixwDLleR1DUrfGuMDlmCHR3RKkdW3PqSvyZ9XheE_oAFOOYghR_A3CxgiLA>53358</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            clang 13.0.1 and clang 14 fail to compile a constexpr std::string_view join
        </td>
    </tr>

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

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

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

<pre>
    Hello,

I run across a compilation crash in Linux (Ubuntu 18.04) occurring with both
```
clang version 13.0.1-++20220120110844+75e33f71c2da-1~exp1~20220120230854.66
clang version 14.0.0-++20220120091458+c10c74887875-1~exp1~20220120091605.248
```
I tried to reduce the code with `creduce` but got non zero result after the **Interestingness** test commands.

Only **gcc** (I am using version 11) is able to compile the code correctly, **MSVC** is failing as well. The code contains some variadic templates, with pointers to members, and static evaluations. 

It's difficult to guess where is the real issue, as the new code stuff I introduced compiles fine on [godbolt](https://godbolt.org/z/fz7rcrvj4).

Based on the crash logs, it seems to happen in clang front end.

[coincenteroptions-4e8175.cpp.gz](https://github.com/llvm/llvm-project/files/7918530/coincenteroptions-4e8175.cpp.gz)
[coincenteroptions-4e8175.sh.gz](https://github.com/llvm/llvm-project/files/7918531/coincenteroptions-4e8175.sh.gz)

Please come back to me if you need more information about this issue.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytVF1vpTYQ_TXcl1EQGAjwwEOy26pXatVKbfe1MmZ8cWpsZJubTX59x4Z0kyrqaqW98gXjj-MzZ854tNPT8BNqbTP2ISs-ZsXd_jyD2wxw4az3wEHYZVWaB2UNCMf9DMrAz8psnyFj3Z_jZsIGZZcXdcZ6sEJszilzgUcVZhhtmA_s2-Jo6VNoTmuu6HzELau8yMubjN1TYwVjRUmtLLqaQO_bBqtKtqVgE78ps_YH_LzG18tCVhVdU-e3t-9C1w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