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!
26744 Discussions

ICE -init=snan EQUIVALENCE on ifort 18.0.0 (Parallel Studio XE)

Rimvydas_J_
Beginner
141 Views

Hi,

We have bumped into an issue after updating to Parallel Studio XE 18.0.0. See the details below (including the reduced test case). The following works on 17.4.0 (SLES 12 SP2). Seems like a bug in the compiler...

$ ifort -v
ifort version 18.0.0

$ cat /tmp/decext_testcase.f
      SUBROUTINE DECEXT
      EQUIVALENCE (X,Y)
      END

$ ifort -init=snan /tmp/decext_testcase.f
/tmp/decext_testcase.f: catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report.  Note: File and line given may not be explicit cause of this error.
compilation aborted for /tmp/decext_testcase.f (code 1)

Best regards

 

 

0 Kudos
3 Replies
matthew_bernardnrc_g
141 Views

I am experiencing the same problem. It seems like the compiler bug is triggered anytime varaibles are preallocated with compiler flags because the sample code I have attached also dies on a compiler error with /Qinit:arrays flag on but one of the elements in the equivalence statement is an array.

Devorah_H_Intel
Moderator
141 Views

Thank you for your report! Please submit a ticket with the bug report via our Online Service Center at https://supporttickets.intel.com/  
Instructions on how to file a ticket are available here: 
https://software.intel.com/en-us/articles/how-to-create-a-support-request-at-online-service-center  

 

Devorah_H_Intel
Moderator
141 Views

On another note, I tested the code in #1 with the internal compiler and there is no ICE in upcoming 18.0 Update 1. Please wait for the Update 1 to come out (very soon) and report any issues via Online Service Center.

Reply