c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for correct format.
authorAndreas Jaeger <aj@gcc.gnu.org>
Sat, 28 Dec 2002 10:51:18 +0000 (11:51 +0100)
committerAndreas Jaeger <aj@gcc.gnu.org>
Sat, 28 Dec 2002 10:51:18 +0000 (11:51 +0100)
* c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for
correct format.

From-SVN: r60570

gcc/ChangeLog
gcc/c-parse.in

index 3dfa74d0ae5c46b857f9209a2d31c899bc1a154d..2d3e3be2c981bf28720c2a0398287452f81b847f 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-28  Andreas Jaeger  <aj@suse.de>
+
+       * c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for
+       correct format.
+
 2002-12-27  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/h8300.md (*iorhi_shift_8): Change the name to
@@ -50,7 +55,7 @@
 
 2002-12-26  Andreas Schwab  <schwab@suse.de>
 
-       * config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax. 
+       * config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax.
 
 2002-12-25  David Edelsohn  <edelsohn@gnu.org>
 
@@ -314,7 +319,7 @@ Sun Dec 22 18:23:44 CET 2002  Jan Hubicka  <jh@suse.cz>
        * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New.
        (TARGET_SWITCHES): Add -msmall-text and -mlarge-text.
        (PREDICATE_CODES): Update.
-       * config/alpha/alpha.md (call patterns): Update for 
+       * config/alpha/alpha.md (call patterns): Update for
        samegp_function_operand rename; use !samegp reloc if
        TARGET_EXPLICIT_RELOCS.
        * doc/invoke.text: Document -msmall-text and -mlarge-text.
@@ -343,12 +348,12 @@ Sun Dec 22 18:23:44 CET 2002  Jan Hubicka  <jh@suse.cz>
         * config/ns32k/NOTES: New file.
 
 2002-12-20  Hartmut Penner  <hpenner@de.ibm.com>
-       
-               * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=
+
+       * doc/invoke.texi: Document -mzarch, -mesa, -mcpu= and -march=
        option for S/390 and zSeries.
         * config/s390/s390.c (s390_cpu, s390_cpu_string, s390_arch,
         s390_arch_string): New variables.
-        (override_options): Checking for options and setting of 
+        (override_options): Checking for options and setting of
        appropriate target_flags, cpu and arch flags.
         * config/s390/s390.h: (processor_type): New enum.
         (TARGET_SWITCHES): New switches -mesa/zarch.
@@ -452,7 +457,7 @@ Thu Dec 19 23:44:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
 
 2002-12-19  Nathanael Nerode  <neroden@gcc.gnu.org>
 
-       * configure.in: FORBUILD when build!=host changed from 
+       * configure.in: FORBUILD when build!=host changed from
        ../$build-alias to ../build-$build_alias to match change made
        in top directory.
        * configure: Regenerated.
@@ -468,7 +473,7 @@ Thu Dec 19 23:44:09 2002  J"orn Rennecke <joern.rennecke@superh.com>
        .CPP extension as C++ source files
        * cp/lang-spec.h: Same
        * doc/invoke.texi:  Add documentation for .CPP support.
-       
+
 2002-12-19  Aldy Hernandez  <aldyh@redhat.com>
 
        PR 8553
@@ -2294,7 +2299,7 @@ Wed Nov 20 19:07:17 CET 2002  Jan Hubicka  <jh@suse.cz>
        (ggc_realloc): Update valgrind annotations.
        * ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
        Define as empty.
-       (alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
+       (alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
        valgrind-annotate memory.
 
 2002-11-20  Ulrich Weigand  <uweigand@de.ibm.com>
index f2ffed0ba1703ffe34236ea06fc9f0f128e54836..70dfe905dfcc99f94c062050dd6bb373ccde636b 100644 (file)
@@ -1459,7 +1459,7 @@ notype_initdcl:
    so that the header files compile. */
 maybe_attribute:
       /* empty */
-               { $$ = NULL_TREE; }
+               { $$ = NULL_TREE; }
        | attributes
                { $$ = $1; }
        ;
@@ -2335,7 +2335,7 @@ select_or_iter_stmt:
          '(' expr ')' ';'
                 { DO_COND ($1) = c_common_truthvalue_conversion ($3); }
        | do_stmt_start error
-               { }
+               { }
        | FOR
                { $<ttype>$ = build_stmt (FOR_STMT, NULL_TREE, NULL_TREE,
                                          NULL_TREE, NULL_TREE);
@@ -2402,7 +2402,7 @@ stmt:
                  $$ = build_asm_stmt ($2, $4, $6, $8, NULL_TREE); }
        /* This is the case with clobbered registers as well.  */
        | ASM_KEYWORD maybe_type_qual '(' expr ':' asm_operands ':'
-         asm_operands ':' asm_clobbers ')' ';'
+         asm_operands ':' asm_clobbers ')' ';'
                { stmt_count++;
                  $$ = build_asm_stmt ($2, $4, $6, $8, $10); }
        | GOTO identifier ';'
@@ -3113,7 +3113,7 @@ myparm:
 optparmlist:
          /* empty */
                {
-                 $$ = NULL_TREE;
+                 $$ = NULL_TREE;
                }
        | ',' ELLIPSIS
                {
@@ -3126,7 +3126,7 @@ optparmlist:
                }
          parmlist_2
                {
-                 /* returns a tree list node generated by get_parm_info */
+                 /* returns a tree list node generated by get_parm_info */
                  $$ = $3;
                  poplevel (0, 0, 0);
                }
@@ -3891,25 +3891,11 @@ yyprint (file, yychar, yyl)
     case CONSTANT:
       fprintf (file, " %s", GET_MODE_NAME (TYPE_MODE (TREE_TYPE (t))));
       if (TREE_CODE (t) == INTEGER_CST)
-       fprintf (file,
-#if HOST_BITS_PER_WIDE_INT == 64
-#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
-                " 0x%x%016x",
-#else
-#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
-                " 0x%lx%016lx",
-#else
-                " 0x%llx%016llx",
-#endif
-#endif
-#else
-#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT
-                " 0x%lx%08lx",
-#else
-                " 0x%x%08x",
-#endif
-#endif
-                TREE_INT_CST_HIGH (t), TREE_INT_CST_LOW (t));
+       {
+         fputs (" ", file);
+         fprintf (file, HOST_WIDE_INT_PRINT_DOUBLE_HEX,
+                  TREE_INT_CST_HIGH (t), TREE_INT_CST_LOW (t));
+       }
       break;
     }
 }