aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2014-06-17 11:02:52 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2014-06-17 11:02:52 +0200
commit7a75b6e2b42bf445e089d5736bff2a5d0d656b3e (patch)
treefa8c39ef0aca05dc4872a4e0917e48491db07064 /gcc/fold-const.c
parentec18e2ebbf6a04097c7204032aba3f2646bede4a (diff)
downloadgcc-7a75b6e2b42bf445e089d5736bff2a5d0d656b3e.zip
gcc-7a75b6e2b42bf445e089d5736bff2a5d0d656b3e.tar.gz
gcc-7a75b6e2b42bf445e089d5736bff2a5d0d656b3e.tar.bz2
[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
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 24daaa3..978b854 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))
{