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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Other than that in principle maybe_warn_pass_by_reference could be enhanced
by realizing a (sub-)object is passed both as const reference and
non-const reference as in this case, but it would be still an odd API.

Reply via email to