tiemann@YAHI.STANFORD.EDU (Michael Tiemann) (04/04/89)
In expand return, the following test must be added. Otherwise, a void
return (i.e., `return;') will attempt to move a void register into a
void register, causing an abort in emit_move_insn.
yahi% diff -c2 stmt.c~ stmt.c
*** stmt.c~ Thu Mar 23 09:02:23 1989
--- stmt.c Tue Apr 4 08:24:03 1989
***************
*** 1471,1474 ****
--- 1471,1475 ----
if (cleanups
&& retval_rhs != NULL_TREE
+ && TREE_TYPE (retval_rhs) != void_type_node
&& GET_CODE (DECL_RTL (DECL_RESULT (this_function))) == REG)
{
yahi%
Michael