OSDN Git Service

2009-10-21 Steve Ellcey <sje@cup.hp.com>
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Oct 2009 17:01:35 +0000 (17:01 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Oct 2009 17:01:35 +0000 (17:01 +0000)
* inclhack.def (hpux_stdint_least_fast): Simplify.
* fixincl.x: Regenerate.
* tests/base/stdint.h: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153066 138bc75d-0d04-0410-961f-82ee72b054a4

fixincludes/ChangeLog
fixincludes/fixincl.x
fixincludes/inclhack.def
fixincludes/tests/base/stdint.h

index 3725866..5ba356d 100644 (file)
@@ -1,3 +1,9 @@
+2009-10-21  Steve Ellcey  <sje@cup.hp.com>
+
+       * inclhack.def (hpux_stdint_least_fast): Simplify.
+       * fixincl.x: Regenerate.
+       * tests/base/stdint.h: Update.
+
 2009-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * inclhack.def (isc_fmod, isc_omits_with_stdc)
 2009-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * inclhack.def (isc_fmod, isc_omits_with_stdc)
index b9b9b04..2d6e1fc 100644 (file)
@@ -2,11 +2,11 @@
  * 
  * DO NOT EDIT THIS FILE   (fixincl.x)
  * 
  * 
  * DO NOT EDIT THIS FILE   (fixincl.x)
  * 
- * It has been AutoGen-ed  Tuesday September 15, 2009 at 06:55:13 AM CEST
+ * It has been AutoGen-ed  Tuesday October 20, 2009 at 04:21:49 PM PDT
  * From the definitions    inclhack.def
  * and the template file   fixincl
  */
  * From the definitions    inclhack.def
  * and the template file   fixincl
  */
-/* DO NOT SVN-MERGE THIS FILE, EITHER Di 15. Sep 06:55:13 CEST 2009
+/* DO NOT SVN-MERGE THIS FILE, EITHER Tue Oct 20 16:21:49 PDT 2009
  *
  * You must regenerate it.  Use the ./genfixes script.
  *
  *
  * You must regenerate it.  Use the ./genfixes script.
  *
@@ -4082,11 +4082,7 @@ static tTestDesc aHpux_Stdint_Least_FastTests[] = {
  */
 static const char* apzHpux_Stdint_Least_FastPatch[] = {
     "format",
  */
 static const char* apzHpux_Stdint_Least_FastPatch[] = {
     "format",
-    "#ifdef __LP64__\n\
-#  define\tUINT_%164_MAX\tULONG_MAX\n\
-#else\n\
-%0\n\
-#endif",
+    "#  define\tUINT_%164_MAX\t__UINT64_MAX__",
     (char*)NULL };
 
 /* * * * * * * * * * * * * * * * * * * * * * * * * *
     (char*)NULL };
 
 /* * * * * * * * * * * * * * * * * * * * * * * * * *
index 72841b3..da4a94c 100644 (file)
@@ -2213,16 +2213,9 @@ fix = {
     select    =
         "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
     c_fix     = format;
     select    =
         "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
     c_fix     = format;
-    c-fix-arg = <<- _EOFix_
-       #ifdef __LP64__
-       #  define       UINT_%164_MAX   ULONG_MAX
-       #else
-       %0
-       #endif
-       _EOFix_;
-    test-text = <<- _EOFix_
-       #  define       UINT_FAST64_MAX        ULLONG_MAX
-       #  define       UINT_LEAST64_MAX        ULLONG_MAX
+    c-fix-arg = "#  define     UINT_%164_MAX   __UINT64_MAX__";
+    test-text = "#  define       UINT_FAST64_MAX        ULLONG_MAX\n"
+               "#  define       UINT_LEAST64_MAX        ULLONG_MAX\n";
        _EOFix_;
 };
 
        _EOFix_;
 };
 
index 1c59442..3159505 100644 (file)
 
 
 #if defined( HPUX_STDINT_LEAST_FAST_CHECK )
 
 
 #if defined( HPUX_STDINT_LEAST_FAST_CHECK )
-#ifdef __LP64__
-#  define      UINT_FAST64_MAX ULONG_MAX
-#else
-#  define       UINT_FAST64_MAX        ULLONG_MAX
-#endif
-#ifdef __LP64__
-#  define      UINT_LEAST64_MAX        ULONG_MAX
-#else
-#  define       UINT_LEAST64_MAX        ULLONG_MAX
-#endif
+#  define      UINT_FAST64_MAX __UINT64_MAX__
+#  define      UINT_LEAST64_MAX        __UINT64_MAX__
+
 #endif  /* HPUX_STDINT_LEAST_FAST_CHECK */
 
 
 #endif  /* HPUX_STDINT_LEAST_FAST_CHECK */