public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/77911] Comparing function pointers in a constexpr function can produce an error.
       [not found] <bug-77911-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-05  2:31 ` pinskia at gcc dot gnu.org
  2021-08-05  2:32 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-05  2:31 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-08-05
         Depends on|                            |69681
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed,  I suspect this is the same problem as PR 69681.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69681
[Bug 69681] C/C++ FEs do not consider comparisons of distinct function pointers
to be constant expressions

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

* [Bug c++/77911] Comparing function pointers in a constexpr function can produce an error.
       [not found] <bug-77911-4@http.gcc.gnu.org/bugzilla/>
  2021-08-05  2:31 ` [Bug c++/77911] Comparing function pointers in a constexpr function can produce an error pinskia at gcc dot gnu.org
@ 2021-08-05  2:32 ` pinskia at gcc dot gnu.org
  2022-01-06 15:44 ` ppalka at gcc dot gnu.org
  2022-01-06 15:50 ` ppalka at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-05  2:32 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tadeus.prastowo at unitn dot it

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 86607 has been marked as a duplicate of this bug. ***

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

* [Bug c++/77911] Comparing function pointers in a constexpr function can produce an error.
       [not found] <bug-77911-4@http.gcc.gnu.org/bugzilla/>
  2021-08-05  2:31 ` [Bug c++/77911] Comparing function pointers in a constexpr function can produce an error pinskia at gcc dot gnu.org
  2021-08-05  2:32 ` pinskia at gcc dot gnu.org
@ 2022-01-06 15:44 ` ppalka at gcc dot gnu.org
  2022-01-06 15:50 ` ppalka at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: ppalka at gcc dot gnu.org @ 2022-01-06 15:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77911
Bug 77911 depends on bug 69681, which changed state.

Bug 69681 Summary: C/C++ FEs do not consider comparisons of distinct function pointers to be constant expressions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69681

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

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

* [Bug c++/77911] Comparing function pointers in a constexpr function can produce an error.
       [not found] <bug-77911-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2022-01-06 15:44 ` ppalka at gcc dot gnu.org
@ 2022-01-06 15:50 ` ppalka at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: ppalka at gcc dot gnu.org @ 2022-01-06 15:50 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |ppalka at gcc dot gnu.org
   Target Milestone|---                         |12.0

--- Comment #6 from Patrick Palka <ppalka at gcc dot gnu.org> ---
This one is also fixed for GCC 12 by r12-6188.

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

end of thread, other threads:[~2022-01-06 15:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-77911-4@http.gcc.gnu.org/bugzilla/>
2021-08-05  2:31 ` [Bug c++/77911] Comparing function pointers in a constexpr function can produce an error pinskia at gcc dot gnu.org
2021-08-05  2:32 ` pinskia at gcc dot gnu.org
2022-01-06 15:44 ` ppalka at gcc dot gnu.org
2022-01-06 15:50 ` 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).