BIND(C) does not work for COMPLEX


Reference Number : dpd200049725

Version : 10.0,10.1,11.0,11.1

Product : Intel Fortran Compiler, Professional Edition

Operating System : Linux

Problem Description : 
The Intel Fortran compiler uses an additional, hidden argument to return the result of a function of type COMPLEX. Adding the BIND(C) attribute to the function declaration should cause the result to be returned by value, in accordance with the x64 ABI, so that the function becomes interoperable with the Intel and GNU C compilers. Currently, it does not.

Resolution Status :  Fixed in compiler version 12.0 and later.

[DISCLAIMER: The information on this web site is intended for hardware system manufacturers and software developers. Intel does not warrant the accuracy, completeness or utility of any information on this site. Intel may make changes to the information or the site at any time without notice. Intel makes no commitment to update the information at this site. ALL INFORMATION PROVIDED ON THIS WEBSITE IS PROVIDED "as is" without any express, implied, or statutory warranty of any kind including but not limited to warranties of merchantability, non-infringement of intellectual property, or fitness for any particular purpose. Independent companies manufacture the third-party products that are mentioned on this site. Intel is not responsible for the quality or performance of third-party products and makes no representation or warranty regarding such products. The third-party supplier remains solely responsible for the design, manufacture, sale and functionality of its products. Intel and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. *Other names and brands may be claimed as the property of others.]


For more complete information about compiler optimizations, see our Optimization Notice.