[Bug c++/46803] [4.6 Regression] libstdc++ build errors on invalid OpenBSD system header attributes
jsm28 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 5 15:15:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46803
Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
Component|other |c++
Target Milestone|--- |4.6.0
Summary|libstdc++ build errors on |[4.6 Regression] libstdc++
|invalid OpenBSD system |build errors on invalid
|header attributes |OpenBSD system header
| |attributes
--- Comment #8 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2010-12-05 15:14:42 UTC ---
I think this is a regression in the handling of unknown attributes, probably
caused by:
2010-04-14 Jason Merrill <jason@redhat.com>
PR c++/36625
* parser.c (cp_parser_parenthesized_expression_list): Change
is_attribute_list parm to int to indicate whether or not to
handle initial identifier specially.
(cp_parser_attribute_list): Use attribute_takes_identifier_p.
You don't know whether an unknown attribute takes an identifier so you need to
handle it either way.
More information about the Gcc-bugs
mailing list