diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/print-tree.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 41f4116..68d3972b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-12-10 Kai Tietz <ktietz@redhat.com> + + PR target/53912 + * print-tree.c (print_node): Cast from pointer via uintptr_t. + 2012-12-10 Jakub Jelinek <jakub@redhat.com> * asan.c (instrument_derefs): Handle bitfield COMPONENT_REFs diff --git a/gcc/print-tree.c b/gcc/print-tree.c index b12d1f3..67bb874 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) |