OSDN Git Service

PR c++/51228
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Dec 2011 20:10:25 +0000 (20:10 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Dec 2011 20:10:25 +0000 (20:10 +0000)
commitfca861346a95846da13216d6a53df0d67029e01c
treec2eb8f16afd3cc6631c120b09947312fc1972e08
parent05550e5b8b1877318d13845b31d1dbb28cce0d9d
PR c++/51228
* c-common.c (handle_transparent_union_attribute): Check the first
field if the type is complete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182494 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/transparent-union-1.c [new file with mode: 0644]