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++/64372] [DR1560] Gratuitous lvalue-to-rvalue conversion in conditional-expression with throw-expression operand


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.

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