On 9/14/20 3:29 AM, Christophe Lyon via Gcc-patches wrote:
> Initializing orig_err avoids a warning: "may be used uninitialized".
>
> 2020-09-14  Torbjörn SVENSSON <torbjorn.svens...@st.com>
>       Christophe Lyon  <christophe.l...@linaro.org>
>
>       libiberty/
>       * pex-win32 (pex_win32_exec_child): Initialize orig_err.

Rather than just blindly initializing orig_err, we'd actually prefer to
have a compilable testcase and analyze why we're getting the warning.  A
false positive -Wuninitialized warning is often a missed optimization
under the hood.


jeff


Attachment: pEpkey.asc
Description: application/pgp-keys

Reply via email to