Date: Mon, 12 Oct 2015 02:05:25 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r289160 - head/contrib/gcc/cp Message-ID: <201510120205.t9C25PuZ077782@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Mon Oct 12 02:05:25 2015 New Revision: 289160 URL: https://svnweb.freebsd.org/changeset/base/289160 Log: Revert r289150: Correct handling of enum attributes with g++ It is causing issues on some platforms. Reported by: sbruno (through adrian) Modified: head/contrib/gcc/cp/parser.c Modified: head/contrib/gcc/cp/parser.c ============================================================================== --- head/contrib/gcc/cp/parser.c Sun Oct 11 21:33:00 2015 (r289159) +++ head/contrib/gcc/cp/parser.c Mon Oct 12 02:05:25 2015 (r289160) @@ -10906,7 +10906,6 @@ cp_parser_enum_specifier (cp_parser* par 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510120205.t9C25PuZ077782>