set_decl_section_name accessor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211370
138bc75d-0d04-0410-961f-
82ee72b054a4
-2014-06-07 Jan Hubicka <hubicka@ucw.cz>
+2014-06-09 Jan Hubicka <hubicka@ucw.cz>
- * gcc-interface/utils.c (process_attributes): Use it.
+ * gcc-interface/utils.c (process_attributes) <ATTR_LINK_SECTION>: Use
+ set_decl_section_name accessor.
2014-05-22 Thomas Schwinge <thomas@codesourcery.com>
case ATTR_LINK_SECTION:
if (targetm_common.have_named_sections)
{
- set_decl_section_name (*node,
- build_string (IDENTIFIER_LENGTH (attr->name),
- IDENTIFIER_POINTER (attr->name)));
+ tree name = build_string (IDENTIFIER_LENGTH (attr->name),
+ IDENTIFIER_POINTER (attr->name));
+ set_decl_section_name (*node, name);
DECL_COMMON (*node) = 0;
}
else