aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2021-07-16 16:21:10 -0400
committerPatrick Palka <ppalka@redhat.com>2021-07-16 16:21:10 -0400
commitd04b0c75794545f1f7a942764285e21eaf2915a1 (patch)
treeb6d7e09642e68a99009793d8e96486d9578fe91f /gcc/tree-vectorizer.c
parent9faf8348621ae6ab583af593d67ac424300a2bad (diff)
downloadgcc-d04b0c75794545f1f7a942764285e21eaf2915a1.zip
gcc-d04b0c75794545f1f7a942764285e21eaf2915a1.tar.gz
gcc-d04b0c75794545f1f7a942764285e21eaf2915a1.tar.bz2
c++: covariant reference return types [PR99664]
This implements the wording changes of CWG 960 which clarifies that two reference types are covariant only if they're both lvalue references or both rvalue references. DR 960 PR c++/99664 gcc/cp/ChangeLog: * search.c (check_final_overrider): Compare TYPE_REF_IS_RVALUE when the return types are references. gcc/testsuite/ChangeLog: * g++.dg/inherit/covariant23.C: New test.
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions