This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/77591] [6 Regression] decltype(auto) and ternary operator allow returning local reference without a warning


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |7.0
            Summary|[6/7 Regression]            |[6 Regression]
                   |decltype(auto) and ternary  |decltype(auto) and ternary
                   |operator allow returning    |operator allow returning
                   |local reference without a   |local reference without a
                   |warning                     |warning
      Known to fail|7.0                         |

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]