
John, When I compile the following code on VC71 with the flag /arch:SSE2 I get an internal compiler error: c:\boost\include\boost-1_35\boost\math\tools\series.hpp(49) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\6030\vc\Compiler\Utc\src\P2\main.c', line 148) Without the SSE2 flag, the code compiles just fine. ---------- #include <boost/math/distributions/fisher_f.hpp> void f() { boost::math::fisher_f fd(3.0, 5.0); cdf(fd, 1.0); } --------- --Johan

Johan Råde wrote:
John,
When I compile the following code on VC71 with the flag /arch:SSE2 I get an internal compiler error:
c:\boost\include\boost-1_35\boost\math\tools\series.hpp(49) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\6030\vc\Compiler\Utc\src\P2\main.c', line 148)
Without the SSE2 flag, the code compiles just fine.
Hmm, builds OK with VC8 with that flag, do you have any ideas on a possible fix or what it is that trips the compiler up? John.

John Maddock wrote:
Johan Råde wrote:
John,
When I compile the following code on VC71 with the flag /arch:SSE2 I get an internal compiler error:
c:\boost\include\boost-1_35\boost\math\tools\series.hpp(49) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\6030\vc\Compiler\Utc\src\P2\main.c', line 148)
Without the SSE2 flag, the code compiles just fine.
Hmm, builds OK with VC8 with that flag, do you have any ideas on a possible fix or what it is that trips the compiler up?
I have no idea how to fix it. Good to hear that it works with VC8. --Johan

John Maddock wrote:
Johan Råde wrote:
When I compile the following code on VC71 with the flag /arch:SSE2 I get an internal compiler error:
Hmm, builds OK with VC8 with that flag, do you have any ideas on a possible fix or what it is that trips the compiler up?
In my experience, this kind of problems are almost impossible to debug, and tricky to fix. Since VC71 is a fairly old compiler, it may not be worth doing it. It may be enough to investigate the scope of the problem, and then update the docs. Do you have a VC71 compiler set up, or do you want me to run some tests for you? I could compile the regression tests on VC71 with /arch:SSE2. Just tell what command line I should give to bjam to set the /arch:SSE2 flag :-) --Johan

Johan Råde wrote:
John Maddock wrote:
Johan Råde wrote:
When I compile the following code on VC71 with the flag /arch:SSE2 I get an internal compiler error:
Hmm, builds OK with VC8 with that flag, do you have any ideas on a possible fix or what it is that trips the compiler up?
In my experience, this kind of problems are almost impossible to debug, and tricky to fix. Since VC71 is a fairly old compiler, it may not be worth doing it. It may be enough to investigate the scope of the problem, and then update the docs.
Do you have a VC71 compiler set up, or do you want me to run some tests for you? I could compile the regression tests on VC71 with /arch:SSE2. Just tell what command line I should give to bjam to set the /arch:SSE2 flag :-)
It's: bjam msvc-7.1 release cxxflags=-arch:SSE2 But that doesn't seem to reproduce the problem :-( I can reproduce from the IDE though, so there must be some other combination of command line arguments that's required as well I guess. Unfortunately the error message gives you no idea which instantiation of that template is responsible - and since it's used ubiquitously in the library - it's hard to know where to begin to look for the problem. There are also some other issues I had with VC7.1, where depending upon the order in which templates are instantiated some of them may not be found at link time :-( John.
participants (2)
-
Johan Råde
-
John Maddock