utils.c (process_attributes): Pass string pointer directly to set_decl_section_name.

* gcc-interface/utils.c (process_attributes) <ATTR_LINK_SECTION>: Pass
	string pointer directly to set_decl_section_name.

From-SVN: r211501
This commit is contained in:
Jan Hubicka 2014-06-12 11:52:26 +02:00 committed by Eric Botcazou
parent 9c85aeb6b9
commit 0ab75824c9
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
2014-06-11 Jan Hubicka <hubicka@ucw.cz>
2014-06-12 Jan Hubicka <hubicka@ucw.cz>
* gcc-interface/utils.c: Update handling for section names
that are no longer trees.
* gcc-interface/utils.c (process_attributes) <ATTR_LINK_SECTION>: Pass
string pointer directly to set_decl_section_name.
2014-06-11 Robert Dewar <dewar@adacore.com>

View File

@ -2476,7 +2476,7 @@ process_attributes (tree *node, struct attrib **attr_list, bool in_place,
case ATTR_LINK_SECTION:
if (targetm_common.have_named_sections)
{
set_decl_section_name (*node, attr->name);
set_decl_section_name (*node, IDENTIFIER_POINTER (attr->name));
DECL_COMMON (*node) = 0;
}
else