[Bug c++/98835] False positive -Wclass-memaccess with class with ref-qualified copy-assignment operator

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 1 15:48:40 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98835

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:

https://gcc.gnu.org/g:c2f8e378d64f65645e5f9c41a8221ca102c71208

commit r11-7014-gc2f8e378d64f65645e5f9c41a8221ca102c71208
Author: Martin Sebor <msebor@redhat.com>
Date:   Mon Feb 1 08:42:58 2021 -0700

    Verify a warning for a class with a ref-qualified assignment (PR
c++/98835).

    gcc/testsuite/ChangeLog:
            PR c++/98835
            * g++.dg/Wclass-memaccess-6.C: New test.


More information about the Gcc-bugs mailing list