diff options
| author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-09 16:19:28 +0000 |
|---|---|---|
| committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-09 16:19:28 +0000 |
| commit | 8af5341f047f26c12d43b721995426f3f177f245 (patch) | |
| tree | 40f3750c5c0d3e75e4ae38fc558b95bd1d59a14b /libjava/gnu/java/beans/decoder/PersistenceParser$ByteHandlerCreator.h | |
| parent | bfb81bedaaf85c6c4cbb7119e17909b4696ea38c (diff) | |
| download | ppe42-gcc-8af5341f047f26c12d43b721995426f3f177f245.tar.gz ppe42-gcc-8af5341f047f26c12d43b721995426f3f177f245.zip | |
PR c/4784
* c-decl.c (detect_field_duplicates_hash): New. Handle anonymous
structures and unions recursively.
(detect_field_duplicates): Move duplicate detection with a hash to
detect_field_duplicates_hash. Always use a hash if anonymous
structures or unions are present.
* doc/extend.texi (Unnamed Fields): Document that duplicate fields
give errors.
testsuite:
* gcc.dg/anon-struct-9.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159204 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/beans/decoder/PersistenceParser$ByteHandlerCreator.h')
0 files changed, 0 insertions, 0 deletions

