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

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

Theodore_T_1
Beginner
307 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
307 Views

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

0 Kudos
Theodore_T_1
Beginner
307 Views

I've done so, case #04197187

0 Kudos
Reply