projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63d51c
)
re PR bootstrap/53912 (bootstrap fails using default c++ mode in stage 2 and 3 for...
author
Kai Tietz
<ktietz@redhat.com>
Mon, 3 Dec 2012 07:05:26 +0000
(08:05 +0100)
committer
Kai Tietz
<ktietz@gcc.gnu.org>
Mon, 3 Dec 2012 07:05:26 +0000
(08:05 +0100)
PR target/53912
* ggc-common.c (POINTER_HASH): Cast from pointer via intptr_t.
From-SVN: r194072
gcc/ChangeLog
patch
|
blob
|
history
gcc/ggc-common.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index e3590efcd00db3c917b8347e5d7d85616a877898..bf76f6511b7c5dc79f9a41d4fd2fe6f9061b3591 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,5
+1,8
@@
2012-12-03 Kai Tietz <ktietz@redhat.com>
+ PR target/53912
+ * ggc-common.c (POINTER_HASH): Cast from pointer via intptr_t.
+
PR target/53912
* tree-dump.c (dump_pointer): Print pointer via HOST_WIDE_INT_PRINT.
diff --git
a/gcc/ggc-common.c
b/gcc/ggc-common.c
index a006909ef93f855b302bfea512631875c3cb6d3f..b26f7ae4298f049ef664fc684ab8ebf98394b172 100644
(file)
--- a/
gcc/ggc-common.c
+++ b/
gcc/ggc-common.c
@@
-304,7
+304,7
@@
struct ptr_data
enum gt_types_enum type;
};
-#define POINTER_HASH(x) (hashval_t)((
long
)x >> 3)
+#define POINTER_HASH(x) (hashval_t)((
intptr_t
)x >> 3)
/* Register an object in the hash table. */