public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100558] New: std::ranges::views operator| fails to compile
@ 2021-05-12  6:24 frozenca91 at gmail dot com
  2021-05-12 14:25 ` [Bug libstdc++/100558] " hewillk at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: frozenca91 at gmail dot com @ 2021-05-12  6:24 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100558
           Summary: std::ranges::views operator| fails to compile
           Product: gcc
           Version: 11.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: frozenca91 at gmail dot com
  Target Milestone: ---

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/100558] std::ranges::views operator| fails to compile
  2021-05-12  6:24 [Bug c++/100558] New: std::ranges::views operator| fails to compile frozenca91 at gmail dot com
@ 2021-05-12 14:25 ` hewillk at gmail dot com
  2021-05-12 14:56 ` redi at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hewillk at gmail dot com @ 2021-05-12 14:25 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/100558] std::ranges::views operator| fails to compile
  2021-05-12  6:24 [Bug c++/100558] New: std::ranges::views operator| fails to compile frozenca91 at gmail dot com
  2021-05-12 14:25 ` [Bug libstdc++/100558] " hewillk at gmail dot com
@ 2021-05-12 14:56 ` redi at gcc dot gnu.org
  2021-05-12 15:10 ` ppalka at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2021-05-12 14:56 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> 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 <redi at gcc dot gnu.org> ---
Patrick, could you backport r12-321 please.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/100558] std::ranges::views operator| fails to compile
  2021-05-12  6:24 [Bug c++/100558] New: std::ranges::views operator| fails to compile frozenca91 at gmail dot com
  2021-05-12 14:25 ` [Bug libstdc++/100558] " hewillk at gmail dot com
  2021-05-12 14:56 ` redi at gcc dot gnu.org
@ 2021-05-12 15:10 ` ppalka at gcc dot gnu.org
  2021-05-12 18:44 ` ppalka at gcc dot gnu.org
  2021-06-16 13:20 ` ppalka at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-05-12 15:10 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/100558] std::ranges::views operator| fails to compile
  2021-05-12  6:24 [Bug c++/100558] New: std::ranges::views operator| fails to compile frozenca91 at gmail dot com
                   ` (2 preceding siblings ...)
  2021-05-12 15:10 ` ppalka at gcc dot gnu.org
@ 2021-05-12 18:44 ` ppalka at gcc dot gnu.org
  2021-06-16 13:20 ` ppalka at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-05-12 18:44 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.2
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
(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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/100558] std::ranges::views operator| fails to compile
  2021-05-12  6:24 [Bug c++/100558] New: std::ranges::views operator| fails to compile frozenca91 at gmail dot com
                   ` (3 preceding siblings ...)
  2021-05-12 18:44 ` ppalka at gcc dot gnu.org
@ 2021-06-16 13:20 ` ppalka at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-06-16 13:20 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |j.galecki11 at gmail dot com

--- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> ---
*** Bug 101091 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-06-16 13:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12  6:24 [Bug c++/100558] New: std::ranges::views operator| fails to compile frozenca91 at gmail dot com
2021-05-12 14:25 ` [Bug libstdc++/100558] " hewillk at gmail dot com
2021-05-12 14:56 ` redi at gcc dot gnu.org
2021-05-12 15:10 ` ppalka at gcc dot gnu.org
2021-05-12 18:44 ` ppalka at gcc dot gnu.org
2021-06-16 13:20 ` ppalka at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).