Patch committed: Define ATTRIBUTE_UNUSED_LABEL for C++
Ian Lance Taylor
iant@google.com
Wed Jun 10 01:51:00 GMT 2009
Following up on my recent patch to support the "unused" attribute on
labels in the C++ frontend, this patch changes include/ansidecl.h to
define ATTRIBUTE_UNUSED_LABEL for C++. C++, unlike C, requires a
semicolon after the attribute. With perhaps an abundance of caution,
I did not change the definition for C.
Bootstrapped and tested on x86_64-unknown-linux-gnu. Committed to
trunk and also to gcc-in-cxx branch.
Ian
2009-06-09 Ian Lance Taylor <ian@airs.com>
* ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define for C++.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 1075 bytes
Desc: Define ATTRIBUTE_UNUSED_LABEL for C++
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090610/f5cc267d/attachment.bin>
More information about the Gcc-patches
mailing list