fold-const.c (fold_checksum_tree): Move checking of DECL_RESULT.
* fold-const.c (fold_checksum_tree): Move checking of DECL_RESULT. From-SVN: r212550
This commit is contained in:
parent
ad115a3c32
commit
6ae5064251
@ -1,3 +1,8 @@
|
|||||||
|
2014-07-14 Jan Hubicka <hubicka@ucw.cz>
|
||||||
|
|
||||||
|
* fold-const.c (fold_checksum_tree): Move checking of
|
||||||
|
DECL_RESULT.
|
||||||
|
|
||||||
2014-07-14 Jan Hubicka <hubicka@ucw.cz>
|
2014-07-14 Jan Hubicka <hubicka@ucw.cz>
|
||||||
|
|
||||||
* tree.c (tree_code_size): Add TRANSLATION_UNIT_DECL,
|
* tree.c (tree_code_size): Add TRANSLATION_UNIT_DECL,
|
||||||
|
@ -14860,9 +14860,11 @@ fold_checksum_tree (const_tree expr, struct md5_ctx *ctx,
|
|||||||
if (CODE_CONTAINS_STRUCT (TREE_CODE (expr), TS_DECL_NON_COMMON))
|
if (CODE_CONTAINS_STRUCT (TREE_CODE (expr), TS_DECL_NON_COMMON))
|
||||||
{
|
{
|
||||||
if (TREE_CODE (expr) == FUNCTION_DECL)
|
if (TREE_CODE (expr) == FUNCTION_DECL)
|
||||||
fold_checksum_tree (DECL_VINDEX (expr), ctx, ht);
|
{
|
||||||
|
fold_checksum_tree (DECL_VINDEX (expr), ctx, ht);
|
||||||
|
fold_checksum_tree (DECL_ARGUMENT (expr), ctx, ht);
|
||||||
|
}
|
||||||
fold_checksum_tree (DECL_RESULT_FLD (expr), ctx, ht);
|
fold_checksum_tree (DECL_RESULT_FLD (expr), ctx, ht);
|
||||||
fold_checksum_tree (DECL_ARGUMENT_FLD (expr), ctx, ht);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case tcc_type:
|
case tcc_type:
|
||||||
|
Loading…
Reference in New Issue
Block a user