Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

BIND(C,NAME="longliteral") causes ICE

Theodore_T_1
Beginner
94 Views

Hello, 

This code causes Internal Compiler Error with ifort 19.0.4.227.

I would like to be able to use longer character constants.

 

!                                           1         2         3
Integer Function f() Bind (C,Name='_23456789012345678901234567890&
&12345678901234567890123456789012345678901234567890123456789012345')
!         4         5         6         7         8         9
  f = 0
  Return
End Function f


 

0 Kudos
2 Replies
Juergen_R_R
Valued Contributor I
94 Views

An ICE is always a compiler error. Please report this to the Online Support team.

Theodore_T_1
Beginner
94 Views

I've done so, case #04197187

Reply