mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 10:50:51 +08:00
re PR bootstrap/45686 (Building rev. 164285 fails with --enable-checking=all)
PR bootstrap/45686 * fold-const.c (fold_checksum_tree): Change slot from const void ** to void **, use CONST_CAST_TREE to store into *slot. From-SVN: r164330
This commit is contained in:
parent
a427621f8c
commit
0c3dbcf057
@ -1,3 +1,9 @@
|
||||
2010-09-16 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR bootstrap/45686
|
||||
* fold-const.c (fold_checksum_tree): Change slot from const void **
|
||||
to void **, use CONST_CAST_TREE to store into *slot.
|
||||
|
||||
2010-09-16 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386.md: Remove unneeded empty conditions and
|
||||
|
@ -13648,7 +13648,7 @@ fold_check_failed (const_tree expr ATTRIBUTE_UNUSED, const_tree ret ATTRIBUTE_UN
|
||||
static void
|
||||
fold_checksum_tree (const_tree expr, struct md5_ctx *ctx, htab_t ht)
|
||||
{
|
||||
const void **slot;
|
||||
void **slot;
|
||||
enum tree_code code;
|
||||
union tree_node buf;
|
||||
int i, len;
|
||||
@ -13660,10 +13660,10 @@ recursive_label:
|
||||
&& sizeof (struct tree_type) <= sizeof (struct tree_function_decl));
|
||||
if (expr == NULL)
|
||||
return;
|
||||
slot = (const void **) htab_find_slot (ht, expr, INSERT);
|
||||
slot = (void **) htab_find_slot (ht, expr, INSERT);
|
||||
if (*slot != NULL)
|
||||
return;
|
||||
*slot = expr;
|
||||
*slot = CONST_CAST_TREE (expr);
|
||||
code = TREE_CODE (expr);
|
||||
if (TREE_CODE_CLASS (code) == tcc_declaration
|
||||
&& DECL_ASSEMBLER_NAME_SET_P (expr))
|
||||
|
Loading…
x
Reference in New Issue
Block a user