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

--- Comment #7 from Charles-Henri Gros <chgros at synopsys dot com> ---
For context, we're trying to detect cases where using "auto" unintentionally
creates a copy (it's regrettably common).
Here the copy is necessary to get a non-const value; that's definitely
something we could consider. Thank you for your feedback.

Reply via email to