[Shootout-list] Stuff

skaller skaller@users.sourceforge.net
25 Apr 2005 13:25:01 +1000


On Mon, 2005-04-25 at 11:20, Jon Harrop wrote:

> Having written too much error-prone numerical code in C++ for my PhD, I've 
> switched to OCaml. For example, if I compile your C++ implementation with -O3 
> (on g++ 3.3.5 here) it segfaults. I have no idea why.

I do, its bug in one of the -O3 optimistion routines.
I have several cases where -O3 and -fomit-frame-pointer 
when used together cause mysterious crashes in C++.

I have gcc 3.2.2 running on x86.

So it's probably not the C++ code.

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net