I'm reporting here a simple case in which the Intel Fortran compiler crashes:
This is the program:
$ cat sample.f90
PRINT *, UNO()
UNO = 1.D0
UNO = 2.D0
END SUBROUTINE DUE
$ ifort -logo -c -fp-model strict -save sample.f90
Intel Fortran Intel 64 Compiler Professional for applications running on Intel 64, Version 11.1
Build 20091012 Package ID: l_cprof_p_11.1.059
Copyright (C) 1985-2009 Intel Corporation. All rights reserved.
Intel Fortran 11.1-2620
: 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 sample.f90 (code 3)
Note that building without any compiler option, it works fine :
$ ifort sample.f90 -o sample && sample
It also works when not using -fp-model strict and -save together.
Then, it seems that the combined effect of this two options (which I use without problems on other source) causes the crash.
If the problem is related to the use of the name of the containing function in the contained subroutine, then I guess the compiler should point this out, instead of crashing ...