aboutsummaryrefslogtreecommitdiff
path: root/gcc/attribs.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2019-12-02 09:46:51 +0000
committerIain Sandoe <iain@sandoe.co.uk>2019-12-02 09:46:51 +0000
commit9d5bec7646fdc120087e39ba6ac01b5c299bf8aa (patch)
tree00f30fd30ba8b51d3af1a92679caff966f093489 /gcc/attribs.c
parentbf31886696cb7906760c6d7d24fab82d5bb646ba (diff)
parent02e688f0e850db35366a26a525e2876f93ffafd6 (diff)
c++-coroutines - merge trunk r278894.
2019-12-02 Iain Sandoe <iain@sandoe.co.uk> Merge trunk r278894. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/c++-coroutines@278895 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/attribs.c')
-rw-r--r--gcc/attribs.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/attribs.c b/gcc/attribs.c
index de34918919b..0519f075ece 100644
--- a/gcc/attribs.c
+++ b/gcc/attribs.c
@@ -593,21 +593,6 @@ decl_attributes (tree *node, tree attributes, int flags,
}
gcc_assert (is_attribute_p (spec->name, name));
- if (TYPE_P (*node)
- && cxx11_attr_p
- && !(flags & ATTR_FLAG_TYPE_IN_PLACE))
- {
- /* This is a c++11 attribute that appertains to a
- type-specifier, outside of the definition of, a class
- type. Ignore it. */
- auto_diagnostic_group d;
- if (warning (OPT_Wattributes, "attribute ignored"))
- inform (input_location,
- "an attribute that appertains to a type-specifier "
- "is ignored");
- continue;
- }
-
if (spec->decl_required && !DECL_P (*anode))
{
if (flags & ((int) ATTR_FLAG_DECL_NEXT