https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82564
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Sat Jan 5 11:14:12 2019 New Revision: 267595 URL: https://gcc.gnu.org/viewcvs?rev=267595&root=gcc&view=rev Log: PR middle-end/82564 PR target/88620 * expr.c (expand_assignment): For calls returning VLA structures if to_rtx is not a MEM, force it into a stack temporary. * gcc.dg/nested-func-12.c: New test. * gcc.c-torture/compile/pr82564.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr82564.c trunk/gcc/testsuite/gcc.dg/nested-func-12.c Modified: trunk/gcc/ChangeLog trunk/gcc/expr.c trunk/gcc/testsuite/ChangeLog