diff options
author | Joseph Myers <joseph@codesourcery.com> | 2005-04-01 00:34:44 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2005-04-01 00:34:44 +0100 |
commit | 0223e4f514d36b505bf23ae213b99886bebe0dad (patch) | |
tree | 7792b0bdd163e128984c1a5dd6701ff7587ff7e3 /gcc/lambda-code.c | |
parent | 96ddf8ef2326b2da28955873ff0b5ab921f481c0 (diff) | |
download | gcc-0223e4f514d36b505bf23ae213b99886bebe0dad.zip gcc-0223e4f514d36b505bf23ae213b99886bebe0dad.tar.gz gcc-0223e4f514d36b505bf23ae213b99886bebe0dad.tar.bz2 |
re PR c/17855 (modification of function struct return not diagnosed)
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.
From-SVN: r97352
Diffstat (limited to 'gcc/lambda-code.c')
0 files changed, 0 insertions, 0 deletions