r177988 - in /branches/gcc-4_6-branch/gcc: cp/C...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Aug 23 13:23:00 GMT 2011
Author: jakub
Date: Tue Aug 23 13:23:22 2011
New Revision: 177988
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177988
Log:
PR c++/46862
* class.c (finish_struct_1): If TYPE_TRANSPARENT_AGGR is set on a type
which doesn't have any fields, clear it and diagnose.
* g++.dg/dfp/nofields.C: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/dfp/nofields.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/class.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list