]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR middle-end/82564
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Jan 2019 11:14:12 +0000 (11:14 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Jan 2019 11:14:12 +0000 (11:14 +0000)
commit681aa7c2dcb1ec582f4ae25ddc09bc3fa5601e53
tree21f0ab12fe14cd100df4f2cdc94277ffc8c9cb28
parent92d7f32c6c921506b728a5a66e50cb72301d6101
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267595 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr82564.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/nested-func-12.c [new file with mode: 0644]