diff options
| author | Jason Merrill <jason@redhat.com> | 2019-09-16 00:34:23 -0400 |
|---|---|---|
| committer | Jason Merrill <jason@gcc.gnu.org> | 2019-09-16 00:34:23 -0400 |
| commit | 47518e131f299f69d0c14f7e5efe83609185ed9f (patch) | |
| tree | b90c2e33bc4eee6596a3fc5d7bccd6c8014dab24 /gcc/opt-problem.cc | |
| parent | a4d034d714f5799d3038aaf85347923686c7db64 (diff) | |
| download | gcc-47518e131f299f69d0c14f7e5efe83609185ed9f.zip gcc-47518e131f299f69d0c14f7e5efe83609185ed9f.tar.gz gcc-47518e131f299f69d0c14f7e5efe83609185ed9f.tar.bz2 | |
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
Diffstat (limited to 'gcc/opt-problem.cc')
0 files changed, 0 insertions, 0 deletions
