English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Caml on intel-OSX
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-06-13 (19:32)
From: John Skaller <skaller@u...>
Subject: Re: [Caml-list] AMD64 ocamlopt bug
On Mon, 2005-06-13 at 21:19 +0200, Xavier Leroy wrote:
> > > > Whilst I personally prefer the ocaml native code compiler,
> > > > at present I can't use it on my AMD64 as there appears
> > 
> > > Do you think I shouldn't release for AMD64? 
> > 
> > See PR#3640 (in Incoming in the Bug Tracker) first:
> > 
> > My guess is if you code works it works... the bug
> > is fairly rare and only triggered in unusual
> > circumstances .. but that is just a guess.
> Yes, PR#3640 is an AMD64-specific code generation bug.  It occurs in
> the uncommon case where a leaf function (a function that doesn't call
> other functions except as a tail-call) accesses a parameter passed on
> the stack (not in registers).  As a rule of thumb, if your tail
> functions have fewer than 9 arguments, you're safe.
> The bug is fixed in the CVS repository, 3.08 bug-fix branch.

Thanks! Nice work finding it! And dumb question: does that mean
the main CVS branch is also fixed? (or will the bug fixed branch
be merged in when 3.09 is released?)

John Skaller, skaller at users.sf.net
PO Box 401 Glebe, NSW 2037, Australia Ph:61-2-96600850 
Download Felix here: http://felix.sf.net