Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
27232 Discussions

Infinite compile-time loop with invalid code

Harald1
Novice
369 Views

The following invalid code with a cyclic dependency consumes all ressources on my Linux machine.  It may make sense to limit the virtual memory for reproducing with ifort/ifx 21.3:

subroutine s(x)
  implicit character (a-z)
  character(len=len(y)+1) :: x
  character(len=len(x)+1) :: y
end

You have been warned...

 

Thanks,

Harald

0 Kudos
1 Solution
Barbara_P_Intel
Moderator
102 Views

Another issue that you reported is fixed, @Harald1, with this release of ifort 2021.6.0 that is part of oneAPI HPC Toolkit 2022.2.



View solution in original post

3 Replies
Barbara_P_Intel
Moderator
297 Views

I didn't try compiling on Linux; I didn't want to hang my machine.

I did try it on my Windows laptop since the power button is handy. No hang, no running out of memory! I did get an ICE.

I filed a bug for you, CMPLRIL0-34117. I'll let you know when it's fixed and you can try again.



Barbara_P_Intel
Moderator
103 Views

Another issue that you reported is fixed, @Harald1, with this release of ifort 2021.6.0 that is part of oneAPI HPC Toolkit 2022.2.



Harald1
Novice
74 Views

Indeed this is now fixed.

Thanks,

Harald

 

Reply