9fans archive / 1996 / 04 / 15 prev next
From: forsyth@pla... forsyth@pla...
Subject: No subject
Date: Sun, 7 Apr 1996 09:07:26 -0400
last week i posted a `fix' to 8c to handle side-effects in an lvalue receiving
a structure literal. at the time, i wasn't able to try it in the other compilers,
but discovered yesterday that because something is missing from side(), the fix
isn't optimal on the 386 or 68020. worse, because it invokes code containing
an existing but rarely seen error in cgen.c,
the `fix' will also break common cases of structure literals as arguments in
any compiler where REGARG is non-zero and equal to REGRET
(that includes most of the RISC compilers). i've got a correct repair
that i'll post shortly.