[Bug c++/84364] [8 Regression] -Weffc++ warns on "return *this" in template after r253599
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 13 16:02:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84364
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 43407
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43407&action=edit
gcc8-pr84364.patch
Patch which restores previous behavior for this warning, not emitting the
-Weffc++ warning if retval is type_dependent_expression_p.
More information about the Gcc-bugs
mailing list