public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/114455] New: [C++26] P2748R5 - Disallow binding a returned reference to a temporary
@ 2024-03-25 11:06 jakub at gcc dot gnu.org
  2024-03-25 17:18 ` [Bug c++/114455] " mpolacek at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2024-03-25 11:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114455
           Summary: [C++26] P2748R5 - Disallow binding a returned
                    reference to a temporary
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

See <https://wg21.link/P2748R5>.

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

* [Bug c++/114455] [C++26] P2748R5 - Disallow binding a returned reference to a temporary
  2024-03-25 11:06 [Bug c++/114455] New: [C++26] P2748R5 - Disallow binding a returned reference to a temporary jakub at gcc dot gnu.org
@ 2024-03-25 17:18 ` mpolacek at gcc dot gnu.org
  2024-04-01  2:39 ` jason at gcc dot gnu.org
  2024-04-01 16:35 ` mpolacek at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2024-03-25 17:18 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-03-25

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.  I'm interested.

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

* [Bug c++/114455] [C++26] P2748R5 - Disallow binding a returned reference to a temporary
  2024-03-25 11:06 [Bug c++/114455] New: [C++26] P2748R5 - Disallow binding a returned reference to a temporary jakub at gcc dot gnu.org
  2024-03-25 17:18 ` [Bug c++/114455] " mpolacek at gcc dot gnu.org
@ 2024-04-01  2:39 ` jason at gcc dot gnu.org
  2024-04-01 16:35 ` mpolacek at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jason at gcc dot gnu.org @ 2024-04-01  2:39 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

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

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

* [Bug c++/114455] [C++26] P2748R5 - Disallow binding a returned reference to a temporary
  2024-03-25 11:06 [Bug c++/114455] New: [C++26] P2748R5 - Disallow binding a returned reference to a temporary jakub at gcc dot gnu.org
  2024-03-25 17:18 ` [Bug c++/114455] " mpolacek at gcc dot gnu.org
  2024-04-01  2:39 ` jason at gcc dot gnu.org
@ 2024-04-01 16:35 ` mpolacek at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2024-04-01 16:35 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Implemented in r14-9738-gbba118db3f63cb for GCC 14.0.

commit bba118db3f63cb1e3953a014aa3ac2ad89908950
Author: Jason Merrill <jason@redhat.com>
Date:   Thu Mar 28 21:33:57 2024 -0400

    c++: C++26 returning reference to temporary

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

end of thread, other threads:[~2024-04-01 16:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-25 11:06 [Bug c++/114455] New: [C++26] P2748R5 - Disallow binding a returned reference to a temporary jakub at gcc dot gnu.org
2024-03-25 17:18 ` [Bug c++/114455] " mpolacek at gcc dot gnu.org
2024-04-01  2:39 ` jason at gcc dot gnu.org
2024-04-01 16:35 ` mpolacek 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).