summaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-10 09:53:08 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-10 09:53:08 +0000
commit660200d271335ac903db4e6894f5b5329178ac53 (patch)
tree9e02e9ed6f0fbccb06482730fee0001a3b3929f6 /gcc/print-tree.c
parent4ad74d42d3940c2176fff24b78d1bc778f766760 (diff)
downloadgcc-660200d271335ac903db4e6894f5b5329178ac53.tar.gz
PR target/53912
* print-tree.c (print_node): Cast from pointer via uintptr_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194348 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index b12d1f38637..67bb8746f9f 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -255,7 +255,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
/* Allow this function to be called if the table is not there. */
if (table)
{
- hash = ((unsigned long) node) % HASH_SIZE;
+ hash = ((uintptr_t) node) % HASH_SIZE;
/* If node is in the table, just mention its address. */
for (b = table[hash]; b; b = b->next)