Commit 52267fcb by Jason Merrill

tree.h (TREE_VEC_END): Cast unused value to void.

	* tree.h (TREE_VEC_END): Cast unused value to void.
	* i386.c (print_operand): Use %lx for long operand.

From-SVN: r20323
parent 5ccdc8af
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:
......@@ -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. */
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment