This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/64372] [DR1560] Gratuitous lvalue-to-rvalue conversion in conditional-expression with throw-expression operand
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Dec 2014 19:46:27 +0000
- Subject: [Bug c++/64372] [DR1560] Gratuitous lvalue-to-rvalue conversion in conditional-expression with throw-expression operand
- Auto-submitted: auto-generated
- References: <bug-64372-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64372
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic, wrong-code
Status|UNCONFIRMED |NEW
URL| |http://www.open-std.org/jtc
| |1/sc22/wg21/docs/cwg_defect
| |s.html#1560
Last reconfirmed| |2014-12-22
Summary|Spurious warning with throw |[DR1560] Gratuitous
|in ternary operator |lvalue-to-rvalue conversion
|returning const reference |in conditional-expression
| |with throw-expression
| |operand
Ever confirmed|0 |1
--- Comment #5 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
Thanks Harald!
I updated the PR accordingly.