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

ICE when moving parameterized derived types into different modules

Olsen__Oystein
Beginner
702 Views

Hi,

I have attached two files. They contain basically the same code. array_pdt2.f90 compiles, array_pdt.f90 fails with:

$ifort array_pdt.f90

fit_lookup: Line_seq_number (nil) was not found
array_pdt.f90: 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 array_pdt.f90 (code 1)

array_pdt.f90 have the same parameterized dervied types as array_pdt2.f90, but they have now be placed in different modules. array_pdt.f90 compiles if I comment out certain lines, which are described in the code. This is with ifort version 15.0.2 on openSUSE 13.2.

Best regards,

Øystein

 

 

 

 

0 Kudos
3 Replies
Steven_L_Intel1
Employee
702 Views

Thanks, we'll take a look.

0 Kudos
Steven_L_Intel1
Employee
702 Views

Escalated as issue DPD200367078. Thanks.

0 Kudos
Steven_L_Intel1
Employee
702 Views

We've identified several problems in this area and expect they'll all be fixed in version 16 to be released later this year. Thanks for the nice examples.

0 Kudos
Reply