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

jakub@gcc.gnu.org jakub@gcc.gnu.org
Mon Oct 29 21:41:00 GMT 2007


Author: jakub
Date: Mon Oct 29 21:41:29 2007
New Revision: 129736

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129736
Log:
	PR c++/33841
	* class.c (check_bitfield_decl): Don't set field's type to error_mark_node
	for non-integral type bitfields.  Return true if bitfield is correct, false
	error has been diagnosed.
	(check_field_decls): If check_bitfield_decl returned false, call also
	check_field_decl.

	* g++.dg/other/bitfield3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/other/bitfield3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list