projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9a98e1
)
(expand_return): When expanding assignment into DECL_RESULT,
author
Richard Stallman
<rms@gnu.org>
Sun, 18 Jul 1993 20:24:23 +0000
(20:24 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 18 Jul 1993 20:24:23 +0000
(20:24 +0000)
ignore the "value"--do it for effect.
From-SVN: r4937
gcc/stmt.c
patch
|
blob
|
history
diff --git
a/gcc/stmt.c
b/gcc/stmt.c
index b61e822fa36a374d1c991313fe8e9082a4110ed7..940f3744c59f2d2c054b4b9d6ea3af9d8263b857 100644
(file)
--- a/
gcc/stmt.c
+++ b/
gcc/stmt.c
@@
-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)));