Boost logo

Boost Users :

Subject: Re: [Boost-users] Intel Compiler 11 and Boost 1.39 Bessel functions
From: Matthieu Brucher (matthieu.brucher_at_[hidden])
Date: 2009-07-20 11:54:51


2009/7/20 John Maddock <john_at_[hidden]>:
>> If you can narrow down the code that causes the compiler to choke I might
>> be
>> able to suggest some alternatives though,
>
> I've narrowed the problem down to two lines in bessel.hpp:
> - the call to bessel_ik() line 262
> - the recursive call to cyl_bessel_imp()
>
> Commenting both of them makes the error disappear. If one of these
> lines is compiled, the compiler crashes (don't know why a recursive
> call can do that :|)
>
> ~~~~~~~~~~~~~~~~~~
>
> Weird, what happens if you compile with -O3 but not -g ?

It works like a charm. You have to put those two flags to raise the
internal error (we use -g to have a least some kind of feedback for
optimized code)

Matthieu

-- 
Information System Engineer, Ph.D.
Website: http://matthieu-brucher.developpez.com/
Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn: http://www.linkedin.com/in/matthieubrucher

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net