r192814 - in /trunk/gcc: cp/ChangeLog cp/class....

paolo@gcc.gnu.org paolo@gcc.gnu.org
Thu Oct 25 16:15:00 GMT 2012


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.carlini@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.carlini@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



More information about the Gcc-cvs mailing list