Revert r289150:

Correct handling of enum attributes with g++

It is causing issues on some platforms.

Reported by:	sbruno (through adrian)
This commit is contained in:
Pedro F. Giffuni 2015-10-12 02:05:25 +00:00
parent 8ef0ae8a8f
commit 5668d203ed

View File

@ -10906,7 +10906,6 @@ cp_parser_enum_specifier (cp_parser* parser)
if (cp_parser_allow_gnu_extensions_p (parser))
{
tree trailing_attr = cp_parser_attributes_opt (parser);
trailing_attr = chainon (trailing_attr, attributes);
cplus_decl_attributes (&type,
trailing_attr,
(int) ATTR_FLAG_TYPE_IN_PLACE);