Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Application miscompiled when IPO is enabled (or when Boost is used)

Gian-carlo_P_
Beginner
475 Views
I have an application that's being miscompiled by Intel C++ 12.1 update 10. I cannot provide "hard proof" that it is not a programming error that only Intel C++ exposes, but the same application is compiled correctly by MSVC 2008, 2010, and every recent GCC version, and (IIRC) Intel C++ 11.1 or there abouts also compiled it correctly.

I can make the miscompilation in my own code go away if I compile it with single-file IPO instead of multi-file IPO. (Obviously this slows down the result)

At some point I'm using some Boost/Asio/Threading functions from Boost 1.49.0. The Intel C++ compiled version crashes instantly there, in the middle of Boost code (that I don't claim to understand). Again, MSVC, GCC etc no problems.

The code is confidential but I'm willing to provide it to someone at Intel if they want to investigate this issue.
0 Kudos
4 Replies
TimP
Honored Contributor III
475 Views
Your best bet is to file the issue on your premier.intel.com support account. If you didn't register your license, you can do so at https://registrationcenter.intel.com which will create the support account. Your code posted on the support account is treated as confidential. If you attach as a private post on this forum it will be visible to all Intel personnel.
I would agree that it's possible for IPO to be overloaded and misfunction in a sizeable application. The multiple IPO options may be a way to work around it.
0 Kudos
Gian-carlo_P_
Beginner
475 Views
Hi Tim,

I'm using an evaluation license so I don't think I can access Premier Support. (And I'd rather not buy something that doesn't work for me...)

Should I attach it here to a private post?
0 Kudos
TimP
Honored Contributor III
475 Views
You can still file a premier support issue with your evaluation license, although it may not get as much priority. If you do that, you could report the case number here. You could also ask for an extension of your evaluation pending analysis of your issue (doesn't hurt to ask!). If you want all Intel people who read this forum to have access, attach it here to a private issue.
0 Kudos
Gian-carlo_P_
Beginner
475 Views
Filed Issue 676826 on premium support. Thanks for the help.
0 Kudos
Reply