aboutsummaryrefslogtreecommitdiff
path: root/libgcc/fp-bit.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-02-26 00:33:52 -0500
committerJason Merrill <jason@redhat.com>2020-02-26 00:33:52 -0500
commitf93784da474823ad563a9dfd6fd535a017b4bc9f (patch)
tree6f5cc3c5d6f257b73620fc3c7869808af65c09eb /libgcc/fp-bit.h
parent2b6565dd2d07d3f2f706795f800d0cc2ff8f2f68 (diff)
downloadgcc-f93784da474823ad563a9dfd6fd535a017b4bc9f.zip
gcc-f93784da474823ad563a9dfd6fd535a017b4bc9f.tar.gz
gcc-f93784da474823ad563a9dfd6fd535a017b4bc9f.tar.bz2
PR c++/86521 - wrong overload resolution with ref-qualifiers.
Here we were wrongly treating binding a const lvalue ref to an xvalue as direct binding, which is wrong under [dcl.init.ref] and [over.match.ref]. gcc/cp/ChangeLog 2020-02-26 Jason Merrill <jason@redhat.com> PR c++/86521 - wrong overload resolution with ref-qualifiers. * call.c (build_user_type_conversion_1): Don't use a conversion to a reference of the wrong rvalueness for direct binding.
Diffstat (limited to 'libgcc/fp-bit.h')
0 files changed, 0 insertions, 0 deletions