Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 18:55:53 +0000 (UTC)
Steve Lionel <steve.lionel@xxxxxxxxx> wrote:
Array bounds checking is good but doesn't help if you use (*)
dimensioned arrays. Argument type mismatches can also get you into
trouble - in Intel Fortran, add the options /gen_interface and
/warn:interface to help catch these.
The suggestion was that arrays in other COMMON blocks
were overwriting the desired variable. I don't believe (*)
is allowed in COMMON arrays.
But yes, if a COMMON array were passed as a subprogram
argument it could be referenced through a (*) dimension and
not be bounds checked.
-- glen
.
- Follow-Ups:
- Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: Gordon Sande
- Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- References:
- Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: Jim Klein
- Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: David Flower
- Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: glen herrmannsfeldt
- Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: David Flower
- Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- From: Steve Lionel
- Strange Porting Problem CVF to IVF, requesting help and ideas.
- Prev by Date: Re: Apology to comp.lang.fortran
- Next by Date: Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- Previous by thread: Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- Next by thread: Re: Strange Porting Problem CVF to IVF, requesting help and ideas.
- Index(es):
Relevant Pages
|