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

    <tr>
        <th>Summary</th>
        <td>
            -Wuninitialized false-negative for `int x = *&x`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang:frontend
      </td>
    </tr>

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

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

<pre>
    We just had a fun `-Wshadow` related bug in https://github.com/ClangBuiltLinux/linux/issues/1868. `-Wuninitialized` could have helped catch this if it warned for the following construct:
```c
int x = *&x
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kU2P2yAQhn8NvowSYYixc_Ah21VOve95DGN7tixEfCRpf33lZKVWW6kS0isk4GWeB3PmJRCNonsR3WuDtawxjYHtD0cZqw9MKTdTdD_HN4L3mgus6ABhrgGEkbu3vKKLN2EkJPJYyMFUF-AAaymXLPRJqLNQ54XLWqe9jR9Cnb95DMtLZV--c6h3oc7-MznnSlmoczuYYf9sqIEDF0bPv8htRTZW72DFK8FK_kIOLBa7Qlk5A8_ABW6YAjmYY4KyEszR-3jjsICNIZdUbdl-Jl-FPAkjn8s-9xwK3EHoVxDqJJS5fznWuFG7oz5iQ2NrBtP27aHtm3WkoybrBnU86oNWk7Mau15N6PRE2mDf8Kik0tLIXsnOdP3ezegOth8mObSzw1kcJH0g-7331499TEvz4DEa3fZd43Einx-qlLIbQqFPc4qhUHBCqU1gGreru6kuWRyk51zyn8cKF0_jF6Awo8-0C7Rg4Ss9kAkj_6VgZFOTH_-jdSv6jN0lxXey5W-ljyl-BwAA__8Pc8cH">