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.