summaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-08 01:21:38 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-08 01:21:38 +0000
commitf3cce03249989e79c0621d060fbb5410b2c1b777 (patch)
tree7d32477a395ff1875c49ab72fa8975ccdfb2e888 /gcc/tree.h
parent3cda254c501f97a6403103386ce00954c2fc3f56 (diff)
downloadgcc-f3cce03249989e79c0621d060fbb5410b2c1b777.tar.gz
* tree.h (TREE_VEC_END): Cast unused value to void.
* 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
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 820e071f4d0..b864020af1f 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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
{