OSDN Git Service

* tree.h (TREE_VEC_END): Cast unused value to void.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 1998 01:21:38 +0000 (01:21 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 1998 01:21:38 +0000 (01:21 +0000)
* i386.c (print_operand): Use %lx for long operand.

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

gcc/ChangeLog
gcc/config/i386/i386.c
gcc/tree.h

index 8d1b6bd..3948384 100644 (file)
@@ -1,3 +1,9 @@
+Mon Jun  8 01:21:13 1998  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * tree.h (TREE_VEC_END): Cast unused value to void.
+
+       * i386.c (print_operand): Use %lx for long operand.
+
 Mon Jun  8 00:04:07 1998  Richard Henderson  <rth@cygnus.com>
 
        * alpha.c (summarize_insn): Ignore rtl slot format 'i'.
@@ -10539,3 +10545,7 @@ Mon Aug 11 10:04:49 1997  Jeffrey A Law  (law@cygnus.com)
 Sun Aug 10 12:00:20 1997  Jeffrey A Law  (law@cygnus.com)
 
        * egcs project officially starts.
+
+Local Variables:
+add-log-time-format: current-time-string
+End:
index 73d89dc..e10787e 100644 (file)
@@ -3379,7 +3379,7 @@ print_operand (file, x, code)
       REAL_VALUE_FROM_CONST_DOUBLE (r, x);
       REAL_VALUE_TO_TARGET_SINGLE (r, l);
       PRINT_IMMED_PREFIX (file);
-      fprintf (file, "0x%x", l);
+      fprintf (file, "0x%lx", l);
     }
 
  /* These float cases don't actually occur as immediate operands. */
index 820e071..b864020 100644 (file)
@@ -646,7 +646,7 @@ struct tree_list
 /* In a TREE_VEC node.  */
 #define TREE_VEC_LENGTH(NODE) (TREE_VEC_CHECK (NODE)->vec.length)
 #define TREE_VEC_ELT(NODE,I) (TREE_VEC_CHECK (NODE)->vec.a[I])
-#define TREE_VEC_END(NODE) (TREE_VEC_CHECK (NODE),&((NODE)->vec.a[(NODE)->vec.length]))
+#define TREE_VEC_END(NODE) ((void) TREE_VEC_CHECK (NODE),&((NODE)->vec.a[(NODE)->vec.length]))
 
 struct tree_vec
 {