Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
7783 Discussions

Intel compiler constexpr code generation different from update 2 to update 3

Yu__William
Beginner
171 Views

Hello, I have two screenshots of a few constexpr methods I'm using and the code generation and code bloat is different between the two binaries. I would like to have the code generation of the first screenshot (update 2, sorry didn't have symbols for this binary but the source is the same!) but cannot seem to replicate it in Update 3 (second screenshot). Can someone tell me what flags I need to set? Thanks! 

 

Update 2

update2.png

 

Update 3

update3.png

0 Kudos
1 Reply
Anoop_M_Intel
Employee
171 Views

Are you using 16.0 compiler? Is there some code sample which you share with me and also the compiler options you used for each build.

Thanks and Regards
Anoop

Reply