aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2015-10-12 02:05:25 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2015-10-12 02:05:25 +0000
commit5668d203ed5d29b977c71ab62e10b85d6f115b88 (patch)
tree372758c56963a6d16b57b3bc4c6b7e5436b2884d
parent8ef0ae8a8f64fa14dc67c8c3caba2f7b1b6681f5 (diff)
downloadsrc-5668d203ed5d29b977c71ab62e10b85d6f115b88.tar.gz
src-5668d203ed5d29b977c71ab62e10b85d6f115b88.zip
Revert r289150:
Correct handling of enum attributes with g++ It is causing issues on some platforms. Reported by: sbruno (through adrian)
Notes
Notes: svn path=/head/; revision=289160
-rw-r--r--contrib/gcc/cp/parser.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/gcc/cp/parser.c b/contrib/gcc/cp/parser.c
index 895d0eeed111..25cc2250f9f0 100644
--- a/contrib/gcc/cp/parser.c
+++ b/contrib/gcc/cp/parser.c
@@ -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);