This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Initialize a variable due to -Wmaybe-uninitialized.
- From: Jeff Law <law at redhat dot com>
- To: Martin Liška <mliska at suse dot cz>, gcc-patches at gcc dot gnu dot org, wilson at gcc dot gnu dot org, Andreas Schwab <schwab at suse dot de>
- Date: Mon, 18 Nov 2019 10:58:19 -0700
- Subject: Re: [PATCH] Initialize a variable due to -Wmaybe-uninitialized.
- References: <5b52263e-b0d2-03cf-2ae5-c0b2fcc50ff7@suse.cz>
On 11/18/19 6:17 AM, Martin Liška wrote:
> Hi.
>
> The patch is about yet another bootstrap -Wmaybe-uninitialized warning.
> I've just tested that on risv64 cross compiler with latest trunk.
>
> Ready to be installed?
> Thanks,
> Martin
>
> gcc/ChangeLog:
>
> 2019-11-18 Martin Liska <mliska@suse.cz>
>
> PR bootstrap/92540
> * config/riscv/riscv.c (riscv_address_insns): Initialize
> addr in order to remove boostrap -Wmaybe-uninitialized
> error.
OK. I had this internally, but haven't had time to analyze if the
warnings was a false positive or not.
jeff