Commit 6ae50642 by Jan Hubicka Committed by Jan Hubicka

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
parent ad115a3c
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>
* tree.c (tree_code_size): Add TRANSLATION_UNIT_DECL,
NAMESPACE_DECL, IMPORTED_DECL and NAMELIST_DECL;
call langhook for unknown declaration.
......
......@@ -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 (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_ARGUMENT_FLD (expr), ctx, ht);
}
break;
case tcc_type:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment