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



--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 
2012-10-25 16:15:19 UTC ---

Author: paolo

Date: Thu Oct 25 16:14:59 2012

New Revision: 192814



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192814

Log:

/cp

2012-10-25  Paolo Carlini  <paolo.carl...@oracle.com>



    PR c++/53761

    * class.c (finish_struct_1): Reject aggregates decorated with

    __transparent_union__ which cannot be made transparent because

    the type of the first field has a different ABI from the class

    overall.



/testsuite

2012-10-25  Paolo Carlini  <paolo.carl...@oracle.com>



    PR c++/53761

    * g++.dg/ext/transparent-union.C: New.



Added:

    trunk/gcc/testsuite/g++.dg/ext/transparent-union.C

Modified:

    trunk/gcc/cp/ChangeLog

    trunk/gcc/cp/class.c

    trunk/gcc/testsuite/ChangeLog

Reply via email to