public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/82113] RVO isn't applied to base class constructor call in C++17
       [not found] <bug-82113-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-19 11:58 ` redi at gcc dot gnu.org
  2023-02-13 16:12 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2020-03-19 11:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
See https://bugs.llvm.org/show_bug.cgi?id=34516#c1

"This is a defect in the standard wording. Copy elision cannot be guaranteed
when initializing a base class subobject, because base classes can have
different layout than the corresponding complete object type."

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

* [Bug c++/82113] RVO isn't applied to base class constructor call in C++17
       [not found] <bug-82113-4@http.gcc.gnu.org/bugzilla/>
  2020-03-19 11:58 ` [Bug c++/82113] RVO isn't applied to base class constructor call in C++17 redi at gcc dot gnu.org
@ 2023-02-13 16:12 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-02-13 16:12 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |DUPLICATE

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup.

*** This bug has been marked as a duplicate of bug 98995 ***

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

end of thread, other threads:[~2023-02-13 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-82113-4@http.gcc.gnu.org/bugzilla/>
2020-03-19 11:58 ` [Bug c++/82113] RVO isn't applied to base class constructor call in C++17 redi at gcc dot gnu.org
2023-02-13 16:12 ` pinskia 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).