2006-04-23 Mark Mitchell <mark@codesourcery.com> PR c++/26534 * c-common.h (c_build_bitfield_integer_type): Declare. * c-decl.c (c_build_bitfield_integer_type): Move to ... * c-common.c (c_build_bitfield_integer_type): ... here. 2006-04-23 Mark Mitchell <mark@codesourcery.com> PR c++/26534 * cp-tree.h (is_bitfield_expr_with_lowered_type): New function. * typeck.c (is_bitfield_expr_with_lowered_type): New function. (decay_conversion): Convert bitfield expressions to the correct type. (build_modify_expr): Remove spurious conversions. * class.c (layout_class_type): Modify the type of bitfields to indicate a limited range. * call.c (standard_conversion): Adjust the type of bitfield expressions used in an rvalue context. (build_conditional_expr): Likewise. 2006-04-23 Mark Mitchell <mark@codesourcery.com> PR c++/26534 * g++.dg/opt/bitfield1.C: New test. * g++.dg/compat/abi/bitfield1_main.C: Add -w. * g++.dg/compat/abi/bitfield1_x.C: Likewise. * g++.dg/compat/abi/bitfield1_y.C: Likewise. * g++.dg/compat/abi/bitfield2_main.C: Likewise. * g++.dg/compat/abi/bitfield2_x.C: Likewise. * g++.dg/compat/abi/bitfield2_y.C: Likewise. * g++.dg/abi/bitfield1.C: Add dg-warning markers. * g++.dg/abi/bitfield2.C: Likewise. * g++.dg/init/bitfield1.C: Likewise. From-SVN: r113199
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
bitfield1.h | Loading commit data... | |
bitfield1_main.C | Loading commit data... | |
bitfield1_x.C | Loading commit data... | |
bitfield1_y.C | Loading commit data... | |
bitfield2.h | Loading commit data... | |
bitfield2_main.C | Loading commit data... | |
bitfield2_x.C | Loading commit data... | |
bitfield2_y.C | Loading commit data... | |
vbase8-10.h | Loading commit data... | |
vbase8-10_main.C | Loading commit data... | |
vbase8-10_x.C | Loading commit data... | |
vbase8-10_y.C | Loading commit data... | |
vbase8-21.h | Loading commit data... | |
vbase8-21_main.C | Loading commit data... | |
vbase8-21_x.C | Loading commit data... | |
vbase8-21_y.C | Loading commit data... | |
vbase8-22.h | Loading commit data... | |
vbase8-22_main.C | Loading commit data... | |
vbase8-22_x.C | Loading commit data... | |
vbase8-22_y.C | Loading commit data... | |
vbase8-4.h | Loading commit data... | |
vbase8-4_main.C | Loading commit data... | |
vbase8-4_x.C | Loading commit data... | |
vbase8-4_y.C | Loading commit data... |