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

    <tr>
        <th>Summary</th>
        <td>
            Inappropriate errors for narrowing in initializer lists
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          warp-10
      </td>
    </tr>
</table>

<pre>
    Example:
https://godbolt.org/z/obGxPf759

Technically, this is a type-widening from two's complement 32 bits to one's complement 53 bits.

An IEEE-754 binary64 can exactly represent all values of "int", which is int32_t for the target platform in this case. There is no error here, and this code didn't raise an error before.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUktv4y4Q_zT4MopF8Cs--ND_v_Gqtz30vsJ4iGeFwYJJk_TTr3Aq7aoXEMz8HvPQKdHFIw6i-U80r4W-8hLicNNxOxxlMYX5MZzvet0ciupFyFchXxbmLeWXGoUaL2GeguMyxItQ46dQY5h-3H_arumf6c_zHc3iyWjnHkL9D7xQAkqggR8bHm40oyd_ARvDCnwLQnUJTMi6K3qGSsFEnIADBI_fo021R8t_BV88vJ3P50PX1DCR1_HR1mC0B7xrw-4BEbeIKcO1c_Ch3RUTBAtCKfIslMo-bwuZJRslz5X6xWBDBF4QWMcLMmxOsw1xBfLPmoxOWML7ghEzzAfAGEOE_JEJtZ-_EsOMMNPsheoYoqaEkN3t2RPaELEs5qGa-6rXBQ7Htm9kd6pkXyzDae6kaU3T2rqXtTVtbWxndW2wPdbq1BQ0KKkq2R9PqpKN7MsZG2mNPnVysnIyStQSV02udO5jzcMrKKUrDm3bHfvC6Qld2pdCKY832IO5J81rEYeMOUzXSxK1dJQ4_WVhYofDm9fbFsMWSTM-a0p767yOMdzypMkDeWLSjj4xwk5TXKMbvq0X8XKdShNWocas8nUdthh-o2Ghxt1bEmrcvf8JAAD__xrD7K0">