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

    <tr>
        <th>Summary</th>
        <td>
            static float f = 0.f / 0.f; cannot be compiled
        </td>
    </tr>

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

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

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

<pre>
    This program will not compile.

int main(void){
  if(1){
    static float f = 0.f / 0.f;/* cannot compile this constant l-value expression yet */
  }
  return 0;
}

I believe that C99 introduced this feature along with IEEE-754 floating-point.
It is one way to create a NAN.

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyEkcFupDwQhJ-mubRmZMwwwMEH8idIueT0v4CxG_DK2MhuZnbefsUk0ea2p5La7qpSfzpnNwciBfUL1K-F3nmJSfHD0qpDMUb7UP8vLuOW4pz0infnPYbIaOK6OU9nED2I3gXGVbsAsr1FZ0F20LyA6BHdBLItfwwQM2t2BicfNeOEUL2iOE8IcjgUqheQA8gejQ4_kpCPHiaGzDow-tNN-52Qfm-JcnYx4IMYQfbH9hEEzetTE_GeAorDWPSfUxD9O47kHd0OY834X9ehC5yi3Q3Zz7CJNO-JUPsYZrw7XvD97e3t1NSXz_YuzKctusDHGd4ZXcYYCO_6gRzRJNJMqPGj_zg-FFZVtqs6XZAqm7q7tOWl7IpFVW1T2speSyMaamtDsmqtbkxTXbU1TVc4JYWsSyEq0dai7M6dmdpxkiOVdVPpRsBF0KqdP3t_W88xzYXLeSdVXstWXAuvR_L5CVnKQHd8voKUB_OkjqXTuM8ZLsK7zPmvDTv2pP5J7JvVSN-4bLEnrxbmLUP1ZCKH2fGyj2cTV5DDEfElpy3FX2QY5PAslkEOX81vSv4JAAD__yS00sg">