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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 24 10:49:00 GMT 2016


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

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 #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 40138
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40138&action=edit
gcc7-pr77591.patch

Untested fix.


More information about the Gcc-bugs mailing list