PR c/17855
commit05fb348da54dfe5d665e375d9986b1e0f910b76b
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Mar 2005 23:34:44 +0000 (31 23:34 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Mar 2005 23:34:44 +0000 (31 23:34 +0000)
tree7792b0bdd163e128984c1a5dd6701ff7587ff7e3
parent17d386e4a66078b713967828c9c265c47317f440
PR c/17855
* gimplify.c (gimplify_expr): Create a temporary for lvalue
COND_EXPR and CALL_EXPR.

testsuite:
* gcc.c-torture/compile/struct-non-lval-1.c,
gcc.c-torture/compile/struct-non-lval-2.c,
gcc.c-torture/compile/struct-non-lval-3.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97352 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/struct-non-lval-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/struct-non-lval-2.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/struct-non-lval-3.c [new file with mode: 0644]