diff options
author | Marek Polacek <polacek@redhat.com> | 2019-09-28 15:35:37 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-09-28 15:35:37 +0000 |
commit | 406c9a1173f79dc0fb3231edb51690c1dd73f6a0 (patch) | |
tree | c97288a968cae89f56b73fb3f74a970d5234bd01 /gcc/fortran/match.c | |
parent | 7cf66a2dbe8017f59d2b28e8db3de8067efcc43e (diff) | |
download | gcc-406c9a1173f79dc0fb3231edb51690c1dd73f6a0.zip gcc-406c9a1173f79dc0fb3231edb51690c1dd73f6a0.tar.gz gcc-406c9a1173f79dc0fb3231edb51690c1dd73f6a0.tar.bz2 |
PR c++/91889 - follow-up fix for DR 2352.
* call.c (involves_qualification_conversion_p): New function.
(direct_reference_binding): Build a ck_qual if the conversion
would involve a qualification conversion.
(convert_like_real): Strip the conversion created by the ck_qual
in direct_reference_binding.
* g++.dg/cpp0x/ref-bind3.C: Add dg-error.
* g++.dg/cpp0x/ref-bind4.C: New test.
* g++.dg/cpp0x/ref-bind5.C: New test.
* g++.dg/cpp0x/ref-bind6.C: New test.
* g++.old-deja/g++.pt/spec35.C: Revert earlier change.
From-SVN: r276251
Diffstat (limited to 'gcc/fortran/match.c')
0 files changed, 0 insertions, 0 deletions