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

dodji@gcc.gnu.org dodji@gcc.gnu.org
Thu Dec 3 08:33:00 GMT 2009


Author: dodji
Date: Thu Dec  3 08:33:03 2009
New Revision: 154938

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154938
Log:
Fix PR c++/42217

gcc/cp/ChangeLog
	PR c++/42217
	* class.c (remove_zero_width_bit_fields): The width of the bit field is
	in DECL_SIZE, not in DECL_INITIAL.

gcc/testsuite/ChangeLog
	PR c++/42217
	* g++.dg/other/bitfield4.C: New test.

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



More information about the Gcc-cvs mailing list