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:
parent
9c85aeb6b9
commit
0ab75824c9
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user