[Bug c++/87531] [8/9 Regression] assignment operator does nothing if performed as a call via operator=

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 8 09:17:00 GMT 2018


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-08
                 CC|                            |nathan at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Nikita Kniazev from comment #0)
> The regression appeared after 7.3.0 and not later than 8.1.0. I do not have
> 8.0.0 to test it.

Because there is no 8.0.0 release.

https://gcc.gnu.org/develop.html#num_scheme

The regression started with r255605

    [PR C++/15272] lookups with ambiguating dependent base

    https://gcc.gnu.org/ml/gcc-patches/2017-12/msg00766.html
            PR c++/15272
            * pt.c (tsubst_baselink): Don't repeat the lookup for
            non-dependent baselinks.

            PR c++/15272
            * g++.dg/template/pr71826.C: Adjust for 15272 fix.


More information about the Gcc-bugs mailing list