gcc-4 -Og false positive "may be used uninitialised"

binutils/
	* readelf.c (dump_section_as_strings) Avoid false positive
	"may be used uninitialised".
gas/
	* config/tc-arm.c (move_or_literal_pool): Avoid false positive
	"may be used uninitialised".
	(opcode_lookup): Likewise.
This commit is contained in:
Alan Modra
2020-08-24 12:58:14 +09:30
parent 85d14aaeb7
commit f3da8a96ee
4 changed files with 16 additions and 7 deletions

View File

@@ -13968,7 +13968,7 @@ dump_section_as_strings (Elf_Internal_Shdr * section, Filedata * filedata)
if (maxlen > 0)
{
char c;
char c = 0;
while (maxlen)
{