https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86849
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86849
--- Comment #1 from Richard Smith ---
Interestingly, GCC does appear to suppress guaranteed copy elision if the class
has virtual base classes.
Perhaps GCC's approach to this problem is to assume that a function returning a
T by value cannot
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86849
Jonathan Wakely changed:
What|Removed |Added
Keywords||wrong-code