diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2011-06-14 15:54:22 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2011-06-14 15:54:22 +0000 |
commit | 652de9ffb6a941775908325ad1a057f34fbcfbd5 (patch) | |
tree | 2b68788de3746683baa53008e6c73be68c43f8ff /libffi/testsuite/libffi.call/ffitest.h | |
parent | 7d8d16c3d94564f7210fb4a4711246d9399ab065 (diff) | |
download | gcc-652de9ffb6a941775908325ad1a057f34fbcfbd5.zip gcc-652de9ffb6a941775908325ad1a057f34fbcfbd5.tar.gz gcc-652de9ffb6a941775908325ad1a057f34fbcfbd5.tar.bz2 |
huge_struct.c (test_large_fn): Use PRIu8, PRId8 instead of %hhu, %hhd.
* testsuite/libffi.call/huge_struct.c (test_large_fn): Use PRIu8,
PRId8 instead of %hhu, %hhd.
* testsuite/libffi.call/ffitest.h [__alpha__ && __osf__] (PRId8,
PRIu8): Define.
[__sgi__] (PRId8, PRIu8): Define.
From-SVN: r175032
Diffstat (limited to 'libffi/testsuite/libffi.call/ffitest.h')
-rw-r--r-- | libffi/testsuite/libffi.call/ffitest.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libffi/testsuite/libffi.call/ffitest.h b/libffi/testsuite/libffi.call/ffitest.h index 59ef032..0e95e16 100644 --- a/libffi/testsuite/libffi.call/ffitest.h +++ b/libffi/testsuite/libffi.call/ffitest.h @@ -67,6 +67,8 @@ #define PRIdLL "ld" #undef PRIuLL #define PRIuLL "lu" +#define PRId8 "hd" +#define PRIu8 "hu" #define PRId64 "ld" #define PRIu64 "lu" #define PRIuPTR "lu" @@ -81,6 +83,8 @@ #if defined(__sgi) /* IRIX 6.5 <inttypes.h> provides all definitions, but only for C99 compilations. */ +#define PRId8 "hhd" +#define PRIu8 "hhu" #if (_MIPS_SZLONG == 32) #define PRId64 "lld" #define PRIu64 "llu" |