------- Comment #3 from jakub at gcc dot gnu dot org 2007-11-29 15:14 ------- Created an attachment (id=14668) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14668&action=view) gcc43-pr33984.patch
I've tried to fix this by the attached patch. standard_conversion also uses is_bitfield_expr_with_lowered_type, but reference_binding was not. Additionally, I've noticed that the 2006 change in layout_class_type dropped all qualifiers from the bitfield's type if c_build_bitfield_integer_type needs to be used. Unfortunately this causes a regression on g++.old-deja/g++.robertl/eb5.C - to type in this case is also the lowered bitfield type, so it fails. Mark, any ideas? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33984