[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-06-13 (19:19) |
From: | Xavier Leroy <Xavier.Leroy@i...> |
Subject: | Re: [Caml-list] AMD64 ocamlopt bug |
> > > 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. - Xavier Leroy