Re: Why are allocatable indices in main different from those in subroutine? (1:n) to (0:(n-1))




David Frank wrote:
You probably have discovered a bug in your YET AGAIN unidentified compiler
which appears to be
allocating the x array with a 0: base for some reason thats not apparent..

He did (a couple of times previously and in a followup here)...it's CVF
6.6 (but whether he's applied (c) hasn't been stated.

I didn't use this test on 6.6c here, but couldn't get the previous idea
to work correctly (passing back an allocated subroutine array to upper
level) in CVF 6.6c here, either.

I've not really tried to stretch the TR addition in CVF previously so
hadn't uncovered a but previously, but Mike apparently has (and not too
difficult, either). What is/isn't actually allowed under the TR I'm
not positive enough about to know where the limits are of what
can/can't be done.

To Mike, looks like you've run into a dead-end here--unfortunately, CVF
is a dead-end product and will not see any more bug fixes even from HP.
Seems like your option at this pint is to either go to one of the
non-TR workarounds or find a supported compiler, sorry.

.



Relevant Pages

  • Re: Why are allocatable indices in main different from those in subroutine? (1:n) to (0:(n-1))
    ... allocating the x array with a 0: base for some reason thats not ... apparent.. ... He did...it's CVF ... to work correctly (passing back an allocated subroutine array to upper ...
    (comp.lang.fortran)
  • Re: Reading data into a buffer
    ... Code is set up for CompaqCVF ... MSF - Microsoft Fortran F ... INT - Intel Fortran For Linux ... -|into some buffer array, and then copy this array to an ever enlarging ...
    (comp.lang.fortran)
  • Re: Calling a dll c function returning a pointer
    ... Now I'm passing an array ) to the c function, ... (the most popular choice in conjunction with CVF); ... with .cpp extension, it assumes C++ name decoration (and I'm not ...
    (comp.lang.fortran)
  • Re: Copying byte sequence from integer/real to character array
    ... CVF never had the capability of performing shape matching at ... element of the MOLD array to hold all of the SOURCE scalar. ... So LF95 can catch this kind of shape mismatch. ...
    (comp.lang.fortran)
  • Re: Bounds of Arrays
    ... that the bounds of array a change when defined like ... Fortran language rules do not allow so-called "aliasing". ... CVF does not do "the right thing" even if both B and C ... IVF 9.0 produces the "expected" results with or without TARGET attribute. ...
    (comp.lang.fortran)