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

IFX 2025.2.0 internal compiler error in xfortcom.exe with large MAX() expression

Vahid_ANSYS
New User
143 Views

Hello,

I am seeing an internal compiler error when compiling with Intel Fortran (IFX) 2025.2.0. The failure occurs in the compiler front-end (xfortcom.exe) during compilation, not at runtime. The error message is: "error #5629: **Internal compiler error: abort signal raised** compilation aborted"

Vahid_ANSYS_0-1756927816666.png


This is reproducible with a minimal test case that uses a large MAX() expression with 100 arguments. When IFX tries to compile this source, it immediately crashes in xfortcom.exe. I have attached the main.f90 reproducer file so the issue can be reproduced directly.

Could you please confirm if this is a known issue? And could you also ensure that this will be addressed in a future release of IFX?

Thank you!

0 Kudos
1 Reply
andrew_4619
Honored Contributor III
127 Views

https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-out-of-memory-with-too-many-args-to-max/m-p/1709228#M176635

 

Yes it is known, an easy permanent workaround is maxval([arg1,arg2,......,arg100])

0 Kudos
Reply