diff options
author | Ian Lance Taylor <iant@google.com> | 2009-06-07 06:39:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2009-06-07 06:39:04 +0000 |
commit | 5bca4e800bc5a61148a74c4656b274155275f9fc (patch) | |
tree | d6bdaa5091ac13eeb83382f918486bf5eb98b1f4 /gcc/fortran/expr.c | |
parent | 712b30cf6f380ea918f78d4ec208093df3566982 (diff) | |
download | gcc-5bca4e800bc5a61148a74c4656b274155275f9fc.zip gcc-5bca4e800bc5a61148a74c4656b274155275f9fc.tar.gz gcc-5bca4e800bc5a61148a74c4656b274155275f9fc.tar.bz2 |
extend.texi (Attribute Syntax): Document that C++ labels on empty statements can now have attributes.
./: * doc/extend.texi (Attribute Syntax): Document that C++ labels on
empty statements can now have attributes.
cp/:
* parser.c (cp_parser_label_for_labeled_statement): Support
attribute on labels if immediately followed by semicolon.
* semantics.c (finish_label_stmt): Return new label.
* pt.c (tsubst_expr): Handle attributes for LABEL_EXPR.
testsuite/:
* gcc.dg/Wunused-label-1.c: New test case.
* g++.dg/warn/Wunused-label-1.C: New test case.
* g++.dg/warn/Wunused-label-2.C: New test case.
* g++.dg/warn/Wunused-label-3.C: New test case.
From-SVN: r148242
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions