In C++ mode, attributes following labels can be ambiguous as they
could apply either to the label, or to a declaration following the
label.  According to
http://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html, a GNU
attribute following a label in C++ mode is only legal if the token
after the attribute is a semicolon.  This patch addresses PR8455.

~Aaron

Attachment: LabelAttr.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to