diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2009-09-08 15:26:50 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2009-09-08 17:26:50 +0200 |
commit | 34c6743caf207e4b0a8d6bb07c01d9c4d4376d70 (patch) | |
tree | 7922f6a551d69f2137de1d9da63fcd43fe9d95e7 /gcc/genattrtab.c | |
parent | 7c2a2dbf5018d6d79251c84d0ad0be3aee3e6204 (diff) | |
download | gcc-34c6743caf207e4b0a8d6bb07c01d9c4d4376d70.zip gcc-34c6743caf207e4b0a8d6bb07c01d9c4d4376d70.tar.gz gcc-34c6743caf207e4b0a8d6bb07c01d9c4d4376d70.tar.bz2 |
tree-ssa-reassoc.c (find_operand_rank): Cast pointer via intptr_t to long type.
2009-09-08 Kai Tietz <kai.tietz@onevision.com>
* tree-ssa-reassoc.c (find_operand_rank): Cast pointer
via intptr_t to long type.
(insert_operand_rank): Cast long type via intptr_t to
pointer type.
* genattrtab.c (RTL_HASH): Use intptr_t to cast from
pointer to scalar.
* c-pretty-print.c (pp_c_tree_decl_identifier): Cast
from pointer to unsigned via uintptr_t.
From-SVN: r151515
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index def9a69..4d6295a 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -319,7 +319,7 @@ static struct attr_hash *attr_hash_table[RTL_HASH_SIZE]; /* Here is how primitive or already-shared RTL's hash codes are made. */ -#define RTL_HASH(RTL) ((long) (RTL) & 0777777) +#define RTL_HASH(RTL) ((intptr_t) (RTL) & 0777777) /* Add an entry to the hash table for RTL with hash code HASHCODE. */ |