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

    <tr>
        <th>Summary</th>
        <td>
            why [[__gnu__::__target__("sha")]] does not work???
        </td>
    </tr>

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

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

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

<pre>
    ASM generation compiler returned: 1
<source>:4:13: error: function multiversioning doesn't support feature 'sha'
inline void foo()
            ^
<source>:10:13: note: function multiversioning caused by this declaration
inline void foo()
            ^
1 error generated.
Execution build compiler returned: 1

https://godbolt.org/z/3Mx5qjEMb

Interestingly. [[__gnu__::__target__("ssse3,sha")]] would work for GCC but not for clang. why??
https://godbolt.org/z/rcW9nWo1c
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydkk1v2zAMhn-NfBFm2JLjxgcfsjQddshphx4DSaZtdYqU6SNp9utHOetWFENRzKBkkYTJh68l3XDtN9_2dAILXkTtLFXueNIGPPUQk7cwEL6hNanuSbUhfBtc8goI32G4wVXznAfvnc-HMVm1lDkmE_UZfEBH24kODoIl7C7SkE4n5yMdQWADoBgMs8D91kNboy3Qs9MDHZ0jbE1Yd0vRVw9Z7f7JVFd_oKyL8C6TEinAQOWVxlkHOoAy4qbC_6HUNx1e1IShvMV3z6DSQiCTNsP7Ei_7HOMpYJSwB7TJDdKZWDo_ofcTF98_r3487fby9UdfbQQPIeJo5loi1me0w2Gy6XDItfjmcIjCTxDRz7OwEAJwwraL_iwPt7pHoxeXEPPi_Hec29Mv2y2Sxyzo4qNMdirpZb4S_pDtQ8xePXb20dWqgL5u23XLm3XXFEPPh453oog6Guix6IfI3xDn67XwZejfVPyhSN70b7h0nJMs8RegY8z55fXp5N0TqIiuDiFBwMOqq5qqmPtRdXLkTTtKaLtG1KwRkknFoG25YqopjJBgQp-5GbNwoUuJDLi6L3TPKsbqum5Z3dS8KdW4Hhs5YK27lWhVTZoKjkKbMnNkwQrfL0gyTQGTRocY_iZFCHqyAEs7rC9SnJ3vo1d4sT0MxdK8X-B_AeltM1k">