From: Jakub Jelinek Date: Fri, 29 Sep 2017 21:06:28 +0000 (+0200) Subject: c-attribs.c (handle_noipa_attribute): Don't add "stack_protect" attribute. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01c9fb68653b1b433b5eb20d78b9d36835783b17;p=gcc.git 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 --- diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index e2b73c8907c..3c4bd054e21 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2017-09-29 Jakub Jelinek + + * c-attribs.c (handle_noipa_attribute): Don't add "stack_protect" + attribute. + 2017-09-29 Eric Botcazou * c-ada-spec.c (to_ada_name): Add index parameter. diff --git a/gcc/c-family/c-attribs.c b/gcc/c-family/c-attribs.c index 1821d3e52bc..4e6754fba20 100644 --- a/gcc/c-family/c-attribs.c +++ b/gcc/c-family/c-attribs.c @@ -730,10 +730,6 @@ handle_noipa_attribute (tree *node, tree name, tree, int, bool *no_add_attrs) warning (OPT_Wattributes, "%qE attribute ignored", name); *no_add_attrs = true; } - else - DECL_ATTRIBUTES (*node) - = tree_cons (get_identifier ("stack_protect"), - NULL_TREE, DECL_ATTRIBUTES (*node)); return NULL_TREE; }