http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51228

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-19 
20:10:32 UTC ---
Author: jason
Date: Mon Dec 19 20:10:25 2011
New Revision: 182494

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182494
Log:
    PR c++/51228
    * c-common.c (handle_transparent_union_attribute): Check the first
    field if the type is complete.

Added:
    trunk/gcc/testsuite/c-c++-common/transparent-union-1.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to