Print

Print


> The following code is happy under Nag 90 and Cray f90, but when run with
> Nag f95 V4.0(208) on HP-UX 10 crashes the compiler with
> 
>   Panic: GenMod_ObsInfo.f90: Cannot find argument
>   Internal Error -- please report this bug
>   Abort - core dumped
>   Warning: f95 GenMod_ObsInfo.f90 compile errors
> 
> I know that pointers have changed a bit in F95, so could people confirm
> that this is a valid setup in f95?

As (I think) Richard Maine once pointed out, if the compiler issues an
"internal compiler error", it is ALWAYS correct.  Either there really is
an internal error in the conventional sense, in which case it is
correct, or there is not, in which case there is an internal error that 
this incorrect message is being generated.  :-)

For what it's worth, Compaq Fortran (on VMS) reports no errors or 
standards violations for your example.



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%