From 01c9fb68653b1b433b5eb20d78b9d36835783b17 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 29 Sep 2017 23:06:28 +0200 Subject: 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 --- gcc/c-family/ChangeLog | 5 +++++ gcc/c-family/c-attribs.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'gcc') diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index e2b73c8..3c4bd05 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 1821d3e..4e6754f 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; } -- cgit v1.1