[Bug c++/98642] [10 Regression] wrong "use of deleted function" error

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 27 09:36:57 GMT 2021


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
So obviously that was

2020-12-23  Jason Merrill  <jason@redhat.com>

        PR c++/90254
        PR c++/93711
        * cp-tree.h (unsafe_return_slot_p): Declare.
        * call.c (is_base_field_ref): Rename to unsafe_return_slot_p.
        (build_over_call): Check unsafe_return_slot_p.
        (build_special_member_call): Likewise.
        * init.c (expand_default_init): Likewise.
        * typeck2.c (split_nonconstant_init_1): Likewise.


More information about the Gcc-bugs mailing list