[PR middle-end/61508] fold-const.c:14863:55: error: cannot convert 'const char*'...
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 17 Jun 2014 09:02:52 +0000 (11:02 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Tue, 17 Jun 2014 09:02:52 +0000 (11:02 +0200)
gcc/
* fold-const.c (fold_checksum_tree) <TS_DECL_WITH_VIS>: Remove
check for section name.

From-SVN: r211727

gcc/ChangeLog
gcc/fold-const.c

index e12a8ab..d0d373d 100644 (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.
index 24daaa3..978b854 100644 (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))
        {