https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67894
--- Comment #6 from John Donners ---
I did have a look at the gcc code to see if I could change this, but I don't
know where to start. I did see the tests for the assumed rank bounds and I
could help to change those.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67894
--- Comment #4 from John Donners ---
I think that you meant an assumed-shape array with
real,dimension(:,:,:) :: a
The assumed-shape array is described in section 5.5.8.3 of the draft standard
and it explicitly says that the lower bound is 1,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67894
--- Comment #2 from John Donners ---
Hello Dominique,
thank you for your reaction. Yes, I should have added the output and my
expectation. I expected to see the following:
Actual argument, allocatable, lbound= 3 10
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: john.donners at surfsara dot nl
Target Milestone: ---
the draft Fortran 2015 standard reads:
An actual argument of any rank may correspond to an assumed-rank dummy
argument. The
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63922
John Donners changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: john.donners at surfsara dot nl
the following test code produces a compiler error:
$ cat test.f90
program omp
implicit none
integer i,region
integer,parameter::l=4
integer