public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/109165] New: std::hash<coroutine_handle<>>::operator() should be const
@ 2023-03-16 23:44 rs2740 at gmail dot com
  2023-03-17 11:34 ` [Bug libstdc++/109165] " redi at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rs2740 at gmail dot com @ 2023-03-16 23:44 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109165
           Summary: std::hash<coroutine_handle<>>::operator() should be
                    const
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rs2740 at gmail dot com
  Target Milestone: ---

Cpp17Hash requires const-callability.

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

* [Bug libstdc++/109165] std::hash<coroutine_handle<>>::operator() should be const
  2023-03-16 23:44 [Bug libstdc++/109165] New: std::hash<coroutine_handle<>>::operator() should be const rs2740 at gmail dot com
@ 2023-03-17 11:34 ` redi at gcc dot gnu.org
  2023-03-17 20:35 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2023-03-17 11:34 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Target Milestone|---                         |12.3
   Last reconfirmed|                            |2023-03-17
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Oops.

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

* [Bug libstdc++/109165] std::hash<coroutine_handle<>>::operator() should be const
  2023-03-16 23:44 [Bug libstdc++/109165] New: std::hash<coroutine_handle<>>::operator() should be const rs2740 at gmail dot com
  2023-03-17 11:34 ` [Bug libstdc++/109165] " redi at gcc dot gnu.org
@ 2023-03-17 20:35 ` cvs-commit at gcc dot gnu.org
  2023-03-18  9:54 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-03-17 20:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:c48be8298c27143c1a684c0cb9689c88d16f4b49

commit r13-6741-gc48be8298c27143c1a684c0cb9689c88d16f4b49
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Mar 17 11:39:55 2023 +0000

    libstdc++: Add const to hash<coroutine_handle<P>>::operator() [PR109165]

    libstdc++-v3/ChangeLog:

            PR libstdc++/109165
            * include/std/coroutine (hash<>::operator()): Add const.
            * testsuite/18_support/coroutines/hash.cc: New test.

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

* [Bug libstdc++/109165] std::hash<coroutine_handle<>>::operator() should be const
  2023-03-16 23:44 [Bug libstdc++/109165] New: std::hash<coroutine_handle<>>::operator() should be const rs2740 at gmail dot com
  2023-03-17 11:34 ` [Bug libstdc++/109165] " redi at gcc dot gnu.org
  2023-03-17 20:35 ` cvs-commit at gcc dot gnu.org
@ 2023-03-18  9:54 ` cvs-commit at gcc dot gnu.org
  2023-03-20 11:54 ` cvs-commit at gcc dot gnu.org
  2023-03-20 11:55 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-03-18  9:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:9b83d4755a7da02f25788fce14bec949e7045f8f

commit r13-6748-g9b83d4755a7da02f25788fce14bec949e7045f8f
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Mar 17 11:39:55 2023 +0000

    libstdc++: Fix test for hash<coroutine_handle<P>>::operator() [PR109165]

    libstdc++-v3/ChangeLog:

            PR libstdc++/109165
            * testsuite/18_support/coroutines/hash.cc: Use const object
            in second call.

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

* [Bug libstdc++/109165] std::hash<coroutine_handle<>>::operator() should be const
  2023-03-16 23:44 [Bug libstdc++/109165] New: std::hash<coroutine_handle<>>::operator() should be const rs2740 at gmail dot com
                   ` (2 preceding siblings ...)
  2023-03-18  9:54 ` cvs-commit at gcc dot gnu.org
@ 2023-03-20 11:54 ` cvs-commit at gcc dot gnu.org
  2023-03-20 11:55 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-03-20 11:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:

https://gcc.gnu.org/g:2a9e6f58c4d9d63dde6c4d53d10f686bf71fb435

commit r12-9296-g2a9e6f58c4d9d63dde6c4d53d10f686bf71fb435
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Mar 17 11:39:55 2023 +0000

    libstdc++: Add const to hash<coroutine_handle<P>>::operator() [PR109165]

    libstdc++-v3/ChangeLog:

            PR libstdc++/109165
            * include/std/coroutine (hash<>::operator()): Add const.
            * testsuite/18_support/coroutines/hash.cc: New test.

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

* [Bug libstdc++/109165] std::hash<coroutine_handle<>>::operator() should be const
  2023-03-16 23:44 [Bug libstdc++/109165] New: std::hash<coroutine_handle<>>::operator() should be const rs2740 at gmail dot com
                   ` (3 preceding siblings ...)
  2023-03-20 11:54 ` cvs-commit at gcc dot gnu.org
@ 2023-03-20 11:55 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2023-03-20 11:55 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed - thanks for spotting it.

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

end of thread, other threads:[~2023-03-20 11:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-16 23:44 [Bug libstdc++/109165] New: std::hash<coroutine_handle<>>::operator() should be const rs2740 at gmail dot com
2023-03-17 11:34 ` [Bug libstdc++/109165] " redi at gcc dot gnu.org
2023-03-17 20:35 ` cvs-commit at gcc dot gnu.org
2023-03-18  9:54 ` cvs-commit at gcc dot gnu.org
2023-03-20 11:54 ` cvs-commit at gcc dot gnu.org
2023-03-20 11:55 ` redi 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).