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

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 6 12:33:00 GMT 2018


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

--- Comment #9 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Created attachment 45169
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45169&action=edit
non operator= version

This turns out to be an orthogonal regression as shown by the new testcase.  We
fail to notice there are template definitions in the current class.

works in 7.x fails in 8.x & trunk


More information about the Gcc-bugs mailing list