opcodes i386 and ia64 gen file warnings
authorAlan Modra <amodra@gmail.com>
Sat, 26 Aug 2023 01:47:47 +0000 (11:17 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 26 Aug 2023 01:47:47 +0000 (11:17 +0930)
commitd2ac569f7b443aef7b2be2f0c80d8ab0d67b4292
tree37c4dd7313103c5eee2335d607b94eef731fc66b
parentb8a0c930580775e54bccdfdc77046db74331bad4
opcodes i386 and ia64 gen file warnings

i386: warning: format ‘%u’ expects argument of type ‘unsigned int’,
but argument 4 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
ia64: warning: ignoring return value of ‘fgets’

* i386-gen.c (process_i386_opcodes): Correct format string.
* ia64-gen.c (load_insn_classes, load_depfile): Don't ignore
fgets return value.
opcodes/i386-gen.c
opcodes/ia64-gen.c