gcc-13 i386-dis.c warning
authorAlan Modra <amodra@gmail.com>
Mon, 24 Apr 2023 03:57:46 +0000 (13:27 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 24 Apr 2023 11:29:38 +0000 (20:59 +0930)
commit5b720e50c7a3c125b7626c8bb64d7234fc7fb317
treec92e8b043ad271dcd03d4912cfdad9870227b67e
parent2043ddb2185096eadc111865f31a70d1cffd6f4c
gcc-13 i386-dis.c warning

opcodes/i386-dis.c: In function ‘print_insn’:
opcodes/i386-dis.c:9865:22: error: storing the address of local
variable ‘priv’ in ‘*info.private_data’ [-Werror=dangling-pointer=]

* i386-dis.c (print_insn): Clear info->private_data before
returning.
opcodes/i386-dis.c