[Bug c++/64372] [DR1560] Gratuitous lvalue-to-rvalue conversion in conditional-expression with throw-expression operand

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 22 19:46:00 GMT 2014


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.


More information about the Gcc-bugs mailing list