diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2009-11-20 16:55:19 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2009-11-20 16:55:19 +0000 |
commit | 25bcd7ea327b499be10398fc747dcc9856855e90 (patch) | |
tree | cdcf4709a3bc5464830ddb17a67cbe07aac38675 /gcc/config | |
parent | 2ee67fbb886cbfab54a1e5a80e6a807e38a564ce (diff) | |
download | gcc-25bcd7ea327b499be10398fc747dcc9856855e90.zip gcc-25bcd7ea327b499be10398fc747dcc9856855e90.tar.gz gcc-25bcd7ea327b499be10398fc747dcc9856855e90.tar.bz2 |
config.gcc (alpha*-dec-osf[45]*): Set use_gcc_stdint.
gcc:
* config.gcc (alpha*-dec-osf[45]*): Set use_gcc_stdint.
* config/alpha/osf.h (SIG_ATOMIC_TYPE): Define.
(INT8_TYPE, INT16_TYPE, INT32_TYPE, INT64_TYPE): Define.
(UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE): Define.
(INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE,
(INT_LEAST64_TYPE): Define.
(UINT_LEAST8_TYPE, UINT_LEAST16_TYPE, UINT_LEAST32_TYPE,
UINT_LEAST64_TYPE): Define.
(INT_FAST8_TYPE, INT_FAST16_TYPE, INT_FAST32_TYPE,
INT_FAST64_TYPE): Define.
(UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE,
UINT_FAST64_TYPE): Define.
(INTPTR_TYPE, UINTPTR_TYPE): Define.
gcc/testsuite:
* gcc.dg/c99-stdint-6.c: Set dg-options for alpha*-dec-osf5*.
Wrap *int_least*_t tests in !NO_LEAST_TYPES.
Wrap *intmax_t tests in !NO_MAX_TYPES.
From-SVN: r154373
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/alpha/osf.h | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/gcc/config/alpha/osf.h b/gcc/config/alpha/osf.h index 81c12aa..a384cc8 100644 --- a/gcc/config/alpha/osf.h +++ b/gcc/config/alpha/osf.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for DEC Alpha on OSF/1. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, 2003, - 2004, 2007 Free Software Foundation, Inc. + 2004, 2007, 2009 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) This file is part of GCC. @@ -162,6 +162,38 @@ __enable_execute_stack (void *addr) \ #define SIZE_TYPE "long unsigned int" #define PTRDIFF_TYPE "long int" +#define SIG_ATOMIC_TYPE "int" + +#define INT8_TYPE "signed char" +#define INT16_TYPE "short int" +#define INT32_TYPE "int" +#define INT64_TYPE "long int" +#define UINT8_TYPE "unsigned char" +#define UINT16_TYPE "short unsigned int" +#define UINT32_TYPE "unsigned int" +#define UINT64_TYPE "long unsigned int" + +#define INT_LEAST8_TYPE "signed char" +#define INT_LEAST16_TYPE "short int" +#define INT_LEAST32_TYPE "int" +#define INT_LEAST64_TYPE "long int" +#define UINT_LEAST8_TYPE "unsigned char" +#define UINT_LEAST16_TYPE "short unsigned int" +#define UINT_LEAST32_TYPE "unsigned int" +#define UINT_LEAST64_TYPE "long unsigned int" + +#define INT_FAST8_TYPE "signed char" +#define INT_FAST16_TYPE "int" +#define INT_FAST32_TYPE "int" +#define INT_FAST64_TYPE "long int" +#define UINT_FAST8_TYPE "unsigned char" +#define UINT_FAST16_TYPE "unsigned int" +#define UINT_FAST32_TYPE "unsigned int" +#define UINT_FAST64_TYPE "long unsigned int" + +#define INTPTR_TYPE "long int" +#define UINTPTR_TYPE "long unsigned int" + /* The linker will stick __main into the .init section. */ #define HAS_INIT_SECTION #define LD_INIT_SWITCH "-init" |