From: Thomas Schwinge Date: Tue, 17 Jun 2014 09:02:52 +0000 (+0200) Subject: [PR middle-end/61508] fold-const.c:14863:55: error: cannot convert 'const char*'... X-Git-Tag: releases/gcc-5.1.0~6831 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a75b6e2b42bf445e089d5736bff2a5d0d656b3e;p=thirdparty%2Fgcc.git [PR middle-end/61508] fold-const.c:14863:55: error: cannot convert 'const char*' to 'const_tree gcc/ * fold-const.c (fold_checksum_tree) : Remove check for section name. From-SVN: r211727 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e12a8ab4a617..d0d373d3744a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-06-17 Thomas Schwinge + + PR middle-end/61508 + * fold-const.c (fold_checksum_tree) : Remove + check for section name. + 2014-06-17 Richard Biener * tree-ssa-propagate.c: Include domwalk.h. diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 24daaa32ce3b..978b854a99c9 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -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)) {