[PATCH 0/5] fix test cases on 32bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some of the test cases made some assumption about the size
of longs or pointers. This serie provides fixes for those.

Luc Van Oostenryck (5):
  fix test for cast to bool on 32bit machines
  predefine __INT_MAX__ and friends
  predefine __SIZEOF_INT__ & friends
  fix test validation/div.c
  do not depends on limits.h to test __CHAR_BIT__

 lib.c                                     | 33 ++++++++++++++++++++++++++-----
 validation/bool-cast-explicit.c           |  2 +-
 validation/bool-cast-implicit.c           |  2 +-
 validation/builtin_char_bit.c             |  7 -------
 validation/div.c                          | 22 +++++++++++----------
 validation/preprocessor/predef-char-bit.c | 16 +++++++++++++++
 validation/preprocessor/predef-max.c      | 18 +++++++++++++++++
 validation/preprocessor/predef-sizeof.c   | 25 +++++++++++++++++++++++
 8 files changed, 101 insertions(+), 24 deletions(-)
 delete mode 100644 validation/builtin_char_bit.c
 create mode 100644 validation/preprocessor/predef-char-bit.c
 create mode 100644 validation/preprocessor/predef-max.c
 create mode 100644 validation/preprocessor/predef-sizeof.c

-- 
2.12.0

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux