http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46889
--- Comment #2 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2010-12-30 18:24:07 UTC --- Author: jsm28 Date: Thu Dec 30 18:24:03 2010 New Revision: 168348 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168348 Log: PR c/46889 * c-decl.c (detect_field_duplicates): Ensure hash is used for finding duplicates when first field is anonymous. testsuite: * gcc.dg/anon-struct-15.c: New test. Added: trunk/gcc/testsuite/gcc.dg/anon-struct-15.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-decl.c trunk/gcc/testsuite/ChangeLog