caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamlopt vs camlc, different behaviour - how to track down?
@ 2013-06-24 16:03 Marc Weber
  2013-06-25  1:12 ` [Caml-list] " Marc Weber
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Marc Weber @ 2013-06-24 16:03 UTC (permalink / raw)
  To: caml-list

I'd like to find out why a ocamlc complied application behaves
differently than a ocamlopt compiled one.

Because "deriving show" for arbitrary data blocks is kind of hard
(it looks like derivig fails on parameterized types?) the next best
thing which comes to my mind is making each instruction trace its source
position. This way it should be easy to find out why ocamlopt result
behaves differently than ocamlc by diffing the traces.

Is there any starting point - such as a camlp4 post processor I could
use and adopt?

Marc Weber

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-10  1:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-24 16:03 [Caml-list] ocamlopt vs camlc, different behaviour - how to track down? Marc Weber
2013-06-25  1:12 ` [Caml-list] " Marc Weber
2013-06-25  5:45 ` [Caml-list] " Stéphane Glondu
2013-06-28 23:54 ` [Caml-list] " Marc Weber
2013-06-29  7:31   ` Gabriel Scherer
2013-07-10  1:56 ` Marc Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).