Commit 01c9fb68 by Jakub Jelinek Committed by Jakub Jelinek

c-attribs.c (handle_noipa_attribute): Don't add "stack_protect" attribute.

	* c-attribs.c (handle_noipa_attribute): Don't add "stack_protect"
	attribute.

From-SVN: r253308
parent b09bf97b
2017-09-29 Jakub Jelinek <jakub@redhat.com>
* c-attribs.c (handle_noipa_attribute): Don't add "stack_protect"
attribute.
2017-09-29 Eric Botcazou <ebotcazou@adacore.com> 2017-09-29 Eric Botcazou <ebotcazou@adacore.com>
* c-ada-spec.c (to_ada_name): Add index parameter. * c-ada-spec.c (to_ada_name): Add index parameter.
......
...@@ -730,10 +730,6 @@ handle_noipa_attribute (tree *node, tree name, tree, int, bool *no_add_attrs) ...@@ -730,10 +730,6 @@ handle_noipa_attribute (tree *node, tree name, tree, int, bool *no_add_attrs)
warning (OPT_Wattributes, "%qE attribute ignored", name); warning (OPT_Wattributes, "%qE attribute ignored", name);
*no_add_attrs = true; *no_add_attrs = true;
} }
else
DECL_ATTRIBUTES (*node)
= tree_cons (get_identifier ("stack_protect"),
NULL_TREE, DECL_ATTRIBUTES (*node));
return NULL_TREE; return NULL_TREE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment