[Bug c++/98841] wrong ‘operator=’ should return a reference to ‘*this’ [-Weffc++]

2021-01-29 Thread o.mandel at menlosystems dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98841 --- Comment #10 from Olaf Mandel --- Thank you, that was quick! Though, didn't this miss the [end of stage 3 development][1] by 11 days? [1]:

[Bug c++/98841] wrong ‘operator=’ should return a reference to ‘*this’ [-Weffc++]

2021-01-27 Thread o.mandel at menlosystems dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98841 --- Comment #7 from Olaf Mandel --- (In reply to Olaf Mandel from comment #0) > In the minimal demo used here this only happens for a template member > function, but in larger code it can also be observed for a plain member > function: see e.g. h

[Bug c++/98841] wrong ‘operator=’ should return a reference to ‘*this’ [-Weffc++]

2021-01-26 Thread o.mandel at menlosystems dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98841 --- Comment #3 from Olaf Mandel --- Created attachment 50062 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50062&action=edit Preprocessed source file of version 10.2.0

[Bug c++/98841] wrong ‘operator=’ should return a reference to ‘*this’ [-Weffc++]

2021-01-26 Thread o.mandel at menlosystems dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98841 --- Comment #2 from Olaf Mandel --- Created attachment 50061 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50061&action=edit Console output of version 10.2.0

[Bug c++/98841] wrong ‘operator=’ should return a reference to ‘*this’ [-Weffc++]

2021-01-26 Thread o.mandel at menlosystems dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98841 --- Comment #1 from Olaf Mandel --- Created attachment 50060 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50060&action=edit Preprocessed source file of version 8.3.0

[Bug c++/98841] New: wrong ‘operator=’ should return a reference to ‘*this’ [-Weffc++]

2021-01-26 Thread o.mandel at menlosystems dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98841 Bug ID: 98841 Summary: wrong ‘operator=’ should return a reference to ‘*this’ [-Weffc++] Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal