mbox series

[0/8] Miscellaneous arch specific fixes

Message ID 20191115011355.53495-1-luc.vanoostenryck@gmail.com (mailing list archive)
Headers show
Series Miscellaneous arch specific fixes | expand

Message

Luc Van Oostenryck Nov. 15, 2019, 1:13 a.m. UTC
These patches contains some fixes for the type specific types:
* signedness of plain char when defaulting to unsigned
* long double on ppc32
* char32_t
* int32_t on ARM
as well as simplifying and moving around some code about
these arch specifities.

Luc Van Oostenryck (8):
  arch: fix the signedness of plain chars
  arch: simplify i386/x86-64 specifics
  arch: keep BSD & Darwin specifics with i386/x86-64 specifics
  arch: do not needlessly set bitness on 32-bit archs
  arch: remove impossible cases with 64-bit arch not being lp64
  arch: ppc32 has 64-bit long double
  arch: char32_t should be the same as uint32_t, not uint
  arch: arm uses long for int32_t

 lib.c                             | 27 ++++++++----------
 machine.h                         |  6 ----
 target.c                          | 47 ++++++++++++++++++++-----------
 validation/char-signed-native.c   |  9 ++++++
 validation/char-unsigned-native.c | 11 ++++++++
 validation/char-unsigned.c        |  2 +-
 6 files changed, 63 insertions(+), 39 deletions(-)
 create mode 100644 validation/char-signed-native.c
 create mode 100644 validation/char-unsigned-native.c