[0/5] Silence some build warnings in various simulators

Message ID cover.1665578246.git.aburgess@redhat.com
Headers
Series Silence some build warnings in various simulators |

Message

Andrew Burgess Oct. 12, 2022, 12:38 p.m. UTC
  This series silences some simulator build warnings.

---

Andrew Burgess (5):
  sim/cgen: mask uninitialized variable warning in cgen-run.c
  sim/ppc: fix warnings related to printf format strings
  sim/ppc: mark device_error function as ATTRIBUTE_NORETURN
  sim/erc32: avoid dereferencing type-punned pointer warnings
  sim/iq2000: silence pointer-sign warnings

 sim/common/cgen-run.c  |  5 +++++
 sim/erc32/Makefile.in  |  3 ---
 sim/erc32/exec.c       | 12 +++++++++---
 sim/iq2000/Makefile.in |  3 ---
 sim/iq2000/iq2000.c    |  9 ++++++---
 sim/ppc/device.h       |  2 +-
 sim/ppc/igen.c         |  2 +-
 sim/ppc/ld-cache.c     |  4 ++--
 sim/ppc/ld-decode.c    |  2 +-
 sim/ppc/ld-insn.c      | 41 +++++++++++++++--------------------------
 10 files changed, 40 insertions(+), 43 deletions(-)
  

Comments

Tom Tromey Oct. 14, 2022, 5:50 p.m. UTC | #1
>>>>> "Andrew" == Andrew Burgess via Gdb-patches <gdb-patches@sourceware.org> writes:

Andrew> This series silences some simulator build warnings.

These all seem fine to me, after the updates to patch #4 and the tweak
in patch #2.  Thanks.

Tom
  
Andrew Burgess Oct. 19, 2022, 1:34 p.m. UTC | #2
Tom Tromey <tom@tromey.com> writes:

>>>>>> "Andrew" == Andrew Burgess via Gdb-patches <gdb-patches@sourceware.org> writes:
>
> Andrew> This series silences some simulator build warnings.
>
> These all seem fine to me, after the updates to patch #4 and the tweak
> in patch #2.  Thanks.

Thanks, I pushed this series.

Andrew