[PR middle-end/61508] fold-const.c:14863:55: error: cannot convert 'const char*' to 'const_tree

gcc/
	* fold-const.c (fold_checksum_tree) <TS_DECL_WITH_VIS>: Remove
	check for section name.

From-SVN: r211727
This commit is contained in:
Thomas Schwinge 2014-06-17 11:02:52 +02:00 committed by Thomas Schwinge
parent ec18e2ebbf
commit 7a75b6e2b4
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2014-06-17 Thomas Schwinge <thomas@codesourcery.com>
PR middle-end/61508
* fold-const.c (fold_checksum_tree) <TS_DECL_WITH_VIS>: Remove
check for section name.
2014-06-17 Richard Biener <rguenther@suse.de>
* tree-ssa-propagate.c: Include domwalk.h.

View File

@ -14859,8 +14859,6 @@ fold_checksum_tree (const_tree expr, struct md5_ctx *ctx,
fold_checksum_tree (DECL_ABSTRACT_ORIGIN (expr), ctx, ht);
fold_checksum_tree (DECL_ATTRIBUTES (expr), ctx, ht);
}
if (CODE_CONTAINS_STRUCT (TREE_CODE (expr), TS_DECL_WITH_VIS))
fold_checksum_tree (DECL_SECTION_NAME (expr), ctx, ht);
if (CODE_CONTAINS_STRUCT (TREE_CODE (expr), TS_DECL_NON_COMMON))
{