Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

INLINE issue

jimdempseyatthecove
Honored Contributor III
513 Views
I have a module that has user defined types and also has a CONTAINS section for functions and subroutines.
I would like to get these functions inlined.

Using !DEC$ ATTRIBUTES FORCEINLINE :: ...

In either and both the module and file making calls to these functions does not inline.
I have IPO off.

Enabling IPO for a selected file withina project within a solution of several projects (IOW with the intent of IPO-ing only the selected file with the module CONTAINS functions) I receive

1>ipo: error #11034: Il version for C:\\(selected file).obj (216458) does not match compiler's il version (213490), please regenerate

The module file did not have IPO selected, but this should not alter the versioning of the selected file's .obj file.
I am making a compilation now with IPO enabled for both the module and the selected file....
The module file produces a similar error
1>ipo: error #11034: Il version for C:\\gtoss\\Programs\\A_Modules\\x64\\DebugOpenMPFast\\MOD_ALL.obj (216458) does not match compiler's il version (213490), please regenerate

Note, both the selected file and the module file are compiled with FPP enabled. However the version tests are performed on the resultant .OBJ files which should have no bearing on the use of FPP.

Intel Visual Fortran Composer XE 2011 Update 10 Integration for Microsoft Visual Studio* 2010, 12.1.3530.2010, Copyright (C) 2002-2012 Intel Corporation

Jim Dempsey
0 Kudos
0 Replies
Reply