[MLton-user] experimental release 20051109

Florian Weimer fw@deneb.enyo.de
Tue, 15 Nov 2005 06:45:22 +0100


* Florian Weimer:

> Looks like a bug in should_duplicate_loop_header_p; it should not flag
> volatile asm statements for duplication.  However, this is a corner
> case because duplication of volatile asm statements usually does not
> hurt, as long as only one duplicate is ever executed.
>
> I will check with the GCC folks.

After looking at the situation myself and consulting with the GCC
folks, I must say that MLton is at fault here.  GCC is permitted to
duplicate asm statements. 8-(

I'm not sure how to fix this, maybe using a special section for the
profiling label addresses is the proper approach.