diff options
author | Steve Ellcey <sje@cup.hp.com> | 2009-08-28 17:53:46 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2009-08-28 17:53:46 +0000 |
commit | 629fff4bf29ced5d30c05c836f2b8b71b29c6d2b (patch) | |
tree | 63e3432b8820645ed8e1d19519b5531f16d41b5b /fixincludes | |
parent | a858e91226a37f6c7bfb77c3cadb5a844d8cebe2 (diff) | |
download | gcc-629fff4bf29ced5d30c05c836f2b8b71b29c6d2b.zip gcc-629fff4bf29ced5d30c05c836f2b8b71b29c6d2b.tar.gz gcc-629fff4bf29ced5d30c05c836f2b8b71b29c6d2b.tar.bz2 |
inclhack.def (hpux_imaginary_i): Remove spaces.
2009-08-28 Steve Ellcey <sje@cup.hp.com>
* inclhack.def (hpux_imaginary_i): Remove spaces.
* fixincl.x: Regenerate.
* tests/base/stdint.h: Update AIX fixes.
* tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
From-SVN: r151171
Diffstat (limited to 'fixincludes')
-rw-r--r-- | fixincludes/ChangeLog | 7 | ||||
-rw-r--r-- | fixincludes/fixincl.x | 6 | ||||
-rw-r--r-- | fixincludes/inclhack.def | 4 | ||||
-rw-r--r-- | fixincludes/tests/base/complex.h | 2 | ||||
-rw-r--r-- | fixincludes/tests/base/stdint.h | 32 |
5 files changed, 29 insertions, 22 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 9c97a8b..3a4ae1e 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,10 @@ +2009-08-28 Steve Ellcey <sje@cup.hp.com> + + * inclhack.def (hpux_imaginary_i): Remove spaces. + * fixincl.x: Regenerate. + * tests/base/stdint.h: Update AIX fixes. + * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix. + 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac (AC_PREREQ): Bump to 2.64. diff --git a/fixincludes/fixincl.x b/fixincludes/fixincl.x index 1ee1dc0..0beb33b 100644 --- a/fixincludes/fixincl.x +++ b/fixincludes/fixincl.x @@ -2,11 +2,11 @@ * * DO NOT EDIT THIS FILE (fixincl.x) * - * It has been AutoGen-ed Sunday August 16, 2009 at 08:59:30 AM EDT + * It has been AutoGen-ed Friday August 28, 2009 at 10:41:05 AM PDT * From the definitions inclhack.def * and the template file fixincl */ -/* DO NOT SVN-MERGE THIS FILE, EITHER Sun Aug 16 08:59:30 EDT 2009 +/* DO NOT SVN-MERGE THIS FILE, EITHER Fri Aug 28 10:41:05 PDT 2009 * * You must regenerate it. Use the ./genfixes script. * @@ -4216,7 +4216,7 @@ static tTestDesc aHpux_Imaginary_ITests[] = { */ static const char* apzHpux_Imaginary_IPatch[] = { "format", - "# define _Complex_I (__extension__ 1.0iF)", + "#define _Complex_I (__extension__ 1.0iF)", (char*)NULL }; /* * * * * * * * * * * * * * * * * * * * * * * * * * diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def index 96ed41c..c43ac85 100644 --- a/fixincludes/inclhack.def +++ b/fixincludes/inclhack.def @@ -2235,8 +2235,8 @@ fix = { files = complex.h; select = "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*"; c_fix = format; - c_fix_arg = "# define _Complex_I (__extension__ 1.0iF)"; - test_text = "# define _Complex_I (0.f+_Imaginary_I)\n"; + c_fix_arg = "#define _Complex_I (__extension__ 1.0iF)"; + test_text = "#define _Complex_I (0.f+_Imaginary_I)\n"; }; /* diff --git a/fixincludes/tests/base/complex.h b/fixincludes/tests/base/complex.h index d7f2c31..d20310d 100644 --- a/fixincludes/tests/base/complex.h +++ b/fixincludes/tests/base/complex.h @@ -16,6 +16,6 @@ #if defined( HPUX_IMAGINARY_I_CHECK ) -# define _Complex_I (__extension__ 1.0iF) +#define _Complex_I (__extension__ 1.0iF) #endif /* HPUX_IMAGINARY_I_CHECK */ diff --git a/fixincludes/tests/base/stdint.h b/fixincludes/tests/base/stdint.h index ae7b12e..8be61a9 100644 --- a/fixincludes/tests/base/stdint.h +++ b/fixincludes/tests/base/stdint.h @@ -10,41 +10,41 @@ #if defined( AIX_STDINT_1_CHECK ) -#define UINT8_MAX (255U) -#define UINT16_MAX (65535U) +#define UINT8_MAX (255) +#define UINT16_MAX (65535) #endif /* AIX_STDINT_1_CHECK */ #if defined( AIX_STDINT_2_CHECK ) -#define INTPTR_MIN INT64_MIN -#define INTPTR_MAX INT64_MAX -#define UINTPTR_MAX UINT64_MAX +#define INTPTR_MIN (-INTPTR_MAX-1) +#define INTPTR_MAX 9223372036854775807L +#define UINTPTR_MAX 18446744073709551615UL #else -#define INTPTR_MIN INT32_MIN -#define INTPTR_MAX INT32_MAX -#define UINTPTR_MAX UINT32_MAX +#define INTPTR_MIN (-INTPTR_MAX-1) +#define INTPTR_MAX 2147483647L +#define UINTPTR_MAX 4294967295UL #endif /* AIX_STDINT_2_CHECK */ #if defined( AIX_STDINT_3_CHECK ) -#define PTRDIFF_MIN INT64_MIN -#define PTRDIFF_MAX INT64_MAX +#define PTRDIFF_MIN (-PTRDIFF_MAX - 1) +#define PTRDIFF_MAX __PTRDIFF_MAX__ #else -#define PTRDIFF_MIN INT32_MIN -#define PTRDIFF_MAX INT32_MAX +#define PTRDIFF_MIN (-PTRDIFF_MAX - 1) +#define PTRDIFF_MAX __PTRDIFF_MAX__ #endif /* AIX_STDINT_3_CHECK */ #if defined( AIX_STDINT_4_CHECK ) -#define SIZE_MAX UINT64_MAX +#define SIZE_MAX __SIZE_MAX__ #else -#define SIZE_MAX UINT32_MAX +#define SIZE_MAX __SIZE_MAX__ #endif /* AIX_STDINT_4_CHECK */ #if defined( AIX_STDINT_5_CHECK ) -#define UINT8_C(c) __CONCAT__(c,U) -#define UINT16_C(c) __CONCAT__(c,U) +#define UINT8_C(c) __UINT8_C(c) +#define UINT16_C(c) __UINT16_C(c) #endif /* AIX_STDINT_5_CHECK */ |