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

Alfred Agrell <blubban at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |blubban at gmail dot com

--- Comment #1 from Alfred Agrell <blubban at gmail dot com> ---
I'll claim this for simplification. (Not gonna try fixing it, though.)

I'm not sure if it actually is valid, since most attempts to simplify it return

error: cannot bind non-const lvalue reference of type
‘std::add_lvalue_reference_t<unsigned int>’ {aka ‘unsigned int&’} to an rvalue
of type ‘std::__tuple_element_t<0, std::tuple<unsigned int> >’ {aka ‘unsigned
int’}

but if Clang and MSVC accept it, then either it is ice-on-valid, or an
ice-on-invalid for us and an accepts-invalid for them.

Reply via email to