[Bug libstdc++/100558] std::ranges::views operator| fails to compile

2021-06-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100558

Patrick Palka  changed:

   What|Removed |Added

 CC||j.galecki11 at gmail dot com

--- Comment #4 from Patrick Palka  ---
*** Bug 101091 has been marked as a duplicate of this bug. ***

[Bug libstdc++/100558] std::ranges::views operator| fails to compile

2021-05-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100558

Patrick Palka  changed:

   What|Removed |Added

   Target Milestone|--- |11.2
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #3 from Patrick Palka  ---
(In reply to Jonathan Wakely from comment #2)
> Patrick, could you backport r12-321 please.

Done as r11-8406.

So we can now consider this fixed for GCC 11.2 and 12.

[Bug libstdc++/100558] std::ranges::views operator| fails to compile

2021-05-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100558

Patrick Palka  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |ppalka at gcc dot 
gnu.org

[Bug libstdc++/100558] std::ranges::views operator| fails to compile

2021-05-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100558

Jonathan Wakely  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Last reconfirmed||2021-05-12
 CC||ppalka at gcc dot gnu.org
 Status|UNCONFIRMED |NEW

--- Comment #2 from Jonathan Wakely  ---
Patrick, could you backport r12-321 please.

[Bug libstdc++/100558] std::ranges::views operator| fails to compile

2021-05-12 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100558

康桓瑋  changed:

   What|Removed |Added

 CC||hewillk at gmail dot com

--- Comment #1 from 康桓瑋  ---
(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.