I have attached two files. They contain basically the same code. array_pdt2.f90 compiles, array_pdt.f90 fails with:
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)