From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA11090 for caml-red; Fri, 1 Sep 2000 18:32:35 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA19366 for ; Fri, 1 Sep 2000 14:38:36 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.10.0/8.10.0) with ESMTP id e81CcZr13597; Fri, 1 Sep 2000 14:38:35 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA06267; Fri, 1 Sep 2000 14:38:34 +0200 (MET DST) Message-ID: <20000901143834.36273@pauillac.inria.fr> Date: Fri, 1 Sep 2000 14:38:34 +0200 From: Xavier Leroy To: Christophe Raffalli Cc: caml-list@inria.fr Subject: Re: ICFP'00 programming contest References: <20000822115640.46767@pauillac.inria.fr> <20000831113726.36306@pauillac.inria.fr> <39AF79D4.250B979F@univ-savoie.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1 In-Reply-To: <39AF79D4.250B979F@univ-savoie.fr>; from Christophe Raffalli on Fri, Sep 01, 2000 at 11:41:40AM +0200 Sender: weis@pauillac.inria.fr > I tried to compile the raytracer ... > > /tmp/camlasm0.s: Assembler messages: > > /tmp/camlasm0.s:235: Error: suffix or operands invalid for `fld' > Did you use a special version of ocamlopt ? Actually, we used a post-3.00 development version. I'm embarrassed to admit it, but the ray-tracer actually triggers a rather unlikely bug in the ocamlopt 3.00 compiler. (The development version we used still has the bug, but by sheer luck doesn't trigger it.) So, this programming contest actually has some technical value as a bug finder, in addition to its amusement value :-) I modified the source code available on the Web site so that it doesn't run into the bug. (The bug pops up in a function that is not normally called, anyway.) Enjoy, - Xavier Leroy