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

    <tr>
        <th>Summary</th>
        <td>
            passing _Float16 to printf where double is expected should raise a warning
        </td>
    </tr>

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

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

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

<pre>
    Unlike __fp16, _Float16 is passed without conversion to double, and so it's an unexpected argument type at that position and should raise a warning.

https://godbolt.org/z/r5o7djxbd
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxs0cGO2yAQBuCnwZfRRhiMYx84pK38Bj1H2ExstoSxYNjs9ukrR6uuVPXEAf3zwzeulLAmRCvMN2F-NK7yRtmWrZ2JuJnJf9ifKYZfCNfrbW97ob7DdYrkuO0hFNhdKejhEXijyrBQesNcAiVgAk91jnhEXPJQCAILdS7gEtSE7zsujB5cXusdEwN_7AiOgTfHsFMJfMx5Rjeq0UN2oSA4eLicQlpPQl6EvGzMexH6ItQk1LSSnynyifIq1PRbqCkbOvvX99k33mo_6tE1aNt-7Acpz4NpNqs67PquH93ZqWW8oRwQO2WGzuhlNl42wSqpdCvloFqtpTkpPbgRTX922shBD6KTeHchnmJ8ux_dTSilou0Ho4cmuhljeRorlfABz0uh1EGe7ZF5metaRCdjKFy-pnDgiPZADmn9gmeCPYfEN3hsmPET-tjHX9X_kzU1R_sPWOCtzqeF7kJNR_Hn8bJnesWFhZqezy1CTc_v_AkAAP__0Ui6jg">