This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ error-recovery] Fix ICE in walk_subobject_offsets (PR c++/33841)


Jakub Jelinek wrote:

> 2007-10-29  Jakub Jelinek  <jakub@redhat.com>
> 
> 	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.

Seems reasonable.  OK, thanks.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]