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

康桓瑋 <hewillk at gmail dot com> changed:

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

--- Comment #1 from 康桓瑋 <hewillk at gmail dot com> ---
(In reply to Jooseong Lee from comment #0)
> GCC 11.1.0 fails to compile this code
> 
> https://wandbox.org/permlink/yWSpe4tVZTI3ljKg
> 
> which has no problem in
> 
> GCC 12.0 HEAD 20210511 (https://wandbox.org/permlink/YWzUzsmIjdqe5zvH)
> GCC 10.1.0 (https://wandbox.org/permlink/wVsn1mqhLuS2R5vg)
> 
> Some updates in 11.1.0 must be broken

The problem here is narrowing conversion of list-initialization in require
clause of range adaptors, which been resolved in
https://github.com/gcc-mirror/gcc/commit/6e00d9bb113b531be15bc71cad2f1742648ba18a#diff-f6609135db2231e86a4562e8e69d605ff4ec06e6f02f43c5ffc23bc7126ab719.

Reply via email to