Tommy Thorn <[EMAIL PROTECTED]> sent a report that June 98 Hugs produces an
internal error when compiling code if compiled using

  make CFLAGS='-O6 -fomit-frame-pointer -msupersparc'

on a Sparc/Solaris 2.5.

He says things work just fine if you turn optimisation off.


I don't know if this is relevant but:

  Hugs relies on conservative GC during compilation.
  On a sparc, it relies on setjmp/longjmp to flush the register windows
   out onto the stack so that the GC can find the pointers.
  A while back, I found a report that setjmp/longjmp didn't always do
   the job and we really ought to be using ST_FLUSH_WINDOWS (from sys/trap.h)
   to do the job properly.
  I couldn't find any real documentation about this stuff though so I
   never really followed it up.  I don't suppose anyone out there
   knows anything about this?

Alastair

Reply via email to