[Bug c++/103403] [11 Regression] auto return type with a trailing return type of decl(auto) uses rvalue reference type instead of reference type

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 3 19:01:40 GMT 2021


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[11/12 Regression] auto     |[11 Regression] auto return
                   |return type with a trailing |type with a trailing return
                   |return type of decl(auto)   |type of decl(auto) uses
                   |uses rvalue reference type  |rvalue reference type
                   |instead of reference type   |instead of reference type

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed on trunk so far.


More information about the Gcc-bugs mailing list