diff options
author | Richard Stallman <rms@gnu.org> | 1993-07-18 20:24:23 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-07-18 20:24:23 +0000 |
commit | cba389cdf9bd114a1f28bea0a4ca6b6036fecfba (patch) | |
tree | a8f8dc27fba7c47b81ff4848ff015d649b8b1183 /gcc/stmt.c | |
parent | d9a98e1a531fedff9d5e1e63b2d1e4d3ebdff527 (diff) | |
download | gcc-cba389cdf9bd114a1f28bea0a4ca6b6036fecfba.zip gcc-cba389cdf9bd114a1f28bea0a4ca6b6036fecfba.tar.gz gcc-cba389cdf9bd114a1f28bea0a4ca6b6036fecfba.tar.bz2 |
(expand_return): When expanding assignment into DECL_RESULT,
ignore the "value"--do it for effect.
From-SVN: r4937
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2428,7 +2428,7 @@ expand_return (retval) { /* No cleanups or no hard reg used; calculate value into hard return reg. */ - expand_expr (retval, NULL_RTX, VOIDmode, 0); + expand_expr (retval, const0_rtx, VOIDmode, 0); emit_queue (); free_temp_slots (); expand_value_return (DECL_RTL (DECL_RESULT (current_function_decl))); |