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

yaghmour.shafik at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Dec 29 03:10:00 GMT 2018


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

--- Comment #11 from Shafik Yaghmour <yaghmour.shafik at gmail dot com> ---
Bumping, it has been a while.

I ran into this reviewing [diff.cpp11.expr]
https://timsong-cpp.github.io/cppwp/n4659/diff.cpp11.expr and noticed the code
in the example similar to the reduced sample fails to compile with current gcc
trunk 

godbolt: https://godbolt.org/z/Ihm9Ps


More information about the Gcc-bugs mailing list