diff options
author | Jason Merrill <jason@redhat.com> | 2019-03-27 16:39:19 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-03-27 16:39:19 -0400 |
commit | dd03c093bcc932fa7ec09e2f0e5662f6d8f429db (patch) | |
tree | 251e708b448eecbb80af1b26733466be5475b1e3 /gcc/fortran/expr.c | |
parent | fad170232ce3b8c7a7743cc5a6031932257c9720 (diff) | |
download | gcc-dd03c093bcc932fa7ec09e2f0e5662f6d8f429db.zip gcc-dd03c093bcc932fa7ec09e2f0e5662f6d8f429db.tar.gz gcc-dd03c093bcc932fa7ec09e2f0e5662f6d8f429db.tar.bz2 |
PR c++/89831 - error with qualified-id in const member function.
Since the fix for 15272 we were remembering the wrong function to use at
instantiation time, because the type of the SCOPE_REF didn't reflect the
cv-quals of 'this'. Conveniently, we can fix this by simplifying the code.
* semantics.c (finish_non_static_data_member): Use object cv-quals
in scoped case, too.
From-SVN: r269977
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions