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] |
Just as I posted the previous e-mail I saw your suggestion in bugzilla, so I restarted testing using convert_bitfield_to_declared_type() instead of fold_convert.
for gcc/cp/ChangeLog from Alexandre Oliva <aoliva@redhat.com>
PR c++/35056 * tree.c: Include tree-flow.h. (build_target_expr): Check type compatibility. * Make-lang.in (cp/tree.o): Depend on $(TREE_FLOW_H). * call.c (convert_like_real): Convert bitfield to expected type.
for gcc/testsuite/ChangeLog from Alexandre Oliva <aoliva@redhat.com>
PR c++/35056 * g++.dg/conversion/bitfield8.C: New.
-- 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] |