On Thu, 17 Sep 2020 at 23:33, Jeff Law <l...@redhat.com> wrote:
>
>
> 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.
>

OK, I filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97108
after checking the problem is still present with trunk and not only
with the old gcc version we have in our builders.

Thanks

Christophe

>
> jeff
>
>

Reply via email to