This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77591] [6 Regression] decltype(auto) and ternary operator allow returning local reference without a warning
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Nov 2016 21:14:48 +0000
- Subject: [Bug c++/77591] [6 Regression] decltype(auto) and ternary operator allow returning local reference without a warning
- Auto-submitted: auto-generated
- References: <bug-77591-4@http.gcc.gnu.org/bugzilla/>
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.