[PATCH] Initialize a variable due to -Wmaybe-uninitialized.
Andreas Schwab
schwab@suse.de
Tue Nov 19 10:20:00 GMT 2019
On Nov 18 2019, Jeff Law wrote:
> 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.
IMHO it is a false positive.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Gcc-patches
mailing list