[comp.os.minix] 68000 and i386 C compiler, NOTES

HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) (01/09/91)

some additional notes:
If the compiler is compiled with -DNOFLOAT, it does not use floating point
stuff, but the drawback is that it cannot generate floating point constants
then.

Sorry, there is an error in the 387 floating-point stuff which may result
in exessive FP-stack-popping:

Parts of the code generator look if the result is needed. If so, they use
fpst, else fpstp.
If they use fpstp they should return NULL, (not &fp_stack) to the caller since
it now thinks there is an unused element on the stack and pops it.

This is no problem on Sun386i since it silently ignores these stack underflows
by default. Then, popping an empty stack again does no harm.

It is already fixed (not difficult, g_assign and g_bin and g_asbin are affected
  but I will wait a while for more bug reports.

BTW, a reference to save_mask in an target-independent part of genstmt.c must
be removed.....

C.v.W.