This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Internal compiler error with VS 2017

Tags: None
(comma "," separated)
xerion
Registered Member
Posts
20
Karma
0
Hi all,

I was moving one of my projects using eigen v3.3.3 to VS 2017 and it seems that I run into an issue when compiling Release, in debug everything is fine.
Note that if I enable /GL (whole program optimization) then the internal compiler error is gone.
I only found that out when I was trying to create a small reproduction case and VS 2017 project had /GL enable by default so I was not getting the error.

The code that causes the internal compiler error is
Code: Select all
   Eigen::MatrixXd mat;
   Eigen::Vector3d vec;
   Eigen::VectorXd vec2 = mat.transpose() * vec;

If I replace the Eigen::Vector3d with a Eigen::VectorXd I do not hit the compiler internal error.

Not sure if I should report it as a bug to Microsoft or to Eigen. Everything was fine with VS 2015 Update 3
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
ICE must be reported to Microsoft.
xerion
Registered Member
Posts
20
Karma
0
I reported the issue and got a not so satisfying answer...
They say it has been fixed in RC4 when we now have the official release and it still cause an ICE.
Thank you for your feedback! This issue has been fixed and it's available in Visual Studio 2017 RC4. Thank you for helping us build a better Visual Studio!

Will report again.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]