This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/28831] [4.8/4.9/4.10 Regression] Aggregate copy not elided when using a return value as a pass-by-value parameter
- From: "chip at pobox dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Jun 2014 17:09:35 +0000
- Subject: [Bug middle-end/28831] [4.8/4.9/4.10 Regression] Aggregate copy not elided when using a return value as a pass-by-value parameter
- Auto-submitted: auto-generated
- References: <bug-28831-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28831
--- Comment #24 from Chip Salzenberg <chip at pobox dot com> ---
In 4.8.2 (Ubuntu trusty), the copy is finally elided. Good job! But stack
space is still allocated for the copy that is not made. So it's not all fixed.