anon-1.c
378 Bytes
-
re PR c/2820 (unnamed union inside unnamed struct changes rest of the struct) · e9b2c823
PR c/2820 * c-typeck.c (lookup_field): Rework to return a chain down to the looked-up field. (build_component_ref): Use the new lookup_field to handle nested anonymous entities correctly. * testsuite/gcc.c-torture/execute/anon-1.c: New test. From-SVN: r46774
Neil Booth committed