public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/94039] conditional operator fails to use proper overload
       [not found] <bug-94039-4@http.gcc.gnu.org/bugzilla/>
@ 2021-09-09  8:18 ` pinskia at gcc dot gnu.org
  2021-12-20 17:31 ` pinskia at gcc dot gnu.org
  2023-10-08  0:23 ` arthur.j.odwyer at gmail dot com
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-09  8:18 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-09-09
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
[expr.cond]/6 I think applies here.

Confirmed.

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

* [Bug c++/94039] conditional operator fails to use proper overload
       [not found] <bug-94039-4@http.gcc.gnu.org/bugzilla/>
  2021-09-09  8:18 ` [Bug c++/94039] conditional operator fails to use proper overload pinskia at gcc dot gnu.org
@ 2021-12-20 17:31 ` pinskia at gcc dot gnu.org
  2023-10-08  0:23 ` arthur.j.odwyer at gmail dot com
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-20 17:31 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

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

* [Bug c++/94039] conditional operator fails to use proper overload
       [not found] <bug-94039-4@http.gcc.gnu.org/bugzilla/>
  2021-09-09  8:18 ` [Bug c++/94039] conditional operator fails to use proper overload pinskia at gcc dot gnu.org
  2021-12-20 17:31 ` pinskia at gcc dot gnu.org
@ 2023-10-08  0:23 ` arthur.j.odwyer at gmail dot com
  2 siblings, 0 replies; 3+ messages in thread
From: arthur.j.odwyer at gmail dot com @ 2023-10-08  0:23 UTC (permalink / raw)
  To: gcc-bugs

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

Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> changed:

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

--- Comment #3 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> ---
You can also hit this with a lambda, which of course is isomorphic to Andre's
test case:

    void (*a)() = true ? []{} : nullptr;

Bug #88458 ("GCC rejects (true ? 0 : nullptr)") might be tangentially related.

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

end of thread, other threads:[~2023-10-08  0:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-94039-4@http.gcc.gnu.org/bugzilla/>
2021-09-09  8:18 ` [Bug c++/94039] conditional operator fails to use proper overload pinskia at gcc dot gnu.org
2021-12-20 17:31 ` pinskia at gcc dot gnu.org
2023-10-08  0:23 ` arthur.j.odwyer at gmail dot com

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).