PR c++/82165 - enum bitfields and operator overloading.
In this testcase, !f.b0 was failing to call the overloaded operator because TREE_TYPE is the magic bitfield integer type, and we weren't using unlowered_expr_type the way we do in other places. It would be nice if we could give bit-field COMPONENT_REFs their declared type until genericization time... * call.c (build_new_op_1): Use unlowered_expr_type. From-SVN: r275745
Showing
gcc/testsuite/g++.dg/expr/bitfield13.C
0 → 100644
Please
register
or
sign in
to comment