--- Comment #9 from burnus at gcc dot gnu dot org 2008-01-13 21:49 ---
Fixed on the trunk (4.3.0).
Thanks for the report!
--
burnus at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #8 from burnus at gcc dot gnu dot org 2008-01-13 21:36 ---
Subject: Bug 34665
Author: burnus
Date: Sun Jan 13 21:35:33 2008
New Revision: 131513
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131513
Log:
2008-01-13 Tobias Burnus <[EMAIL PROTECTED]>
PR fort
--- Comment #7 from burnus at gcc dot gnu dot org 2008-01-13 17:41 ---
> One has to be careful not to to get the same problem as with SHAPE in PR
> 34759,
> i.e. passing a rank-2 array A(:,:,5) defined as rank-3 assumed-shape array
> A(:,:,*).
This is actually already properly handled.
--- Comment #6 from burnus at gcc dot gnu dot org 2008-01-12 21:13 ---
One has to be careful not to to get the same problem as with SHAPE in PR 34759,
i.e. passing a rank-2 array A(:,:,5) defined as rank-3 assumed-shape array
A(:,:,*).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=
--- Comment #5 from burnus at gcc dot gnu dot org 2008-01-12 14:36 ---
A related but slightly separate issue is illustrated by the following example.
The argument of the second call to FOO is an expression; however, expressions
involving assumed-size arrays are evil. This is detected for
--
burnus at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |burnus at gcc dot gnu dot
|dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2008-01-05 14:57 ---
(In reply to comment #3)
> > We catch this with an explicit interface, but we
> > should still check for occurrence in the
> > same source code.
>
> I do not understand this part.
Ooops, you're correct. Yes, we s
--- Comment #3 from burnus at gcc dot gnu dot org 2008-01-04 19:28 ---
> We catch this with an explicit interface, but we
> should still check for occurrence in the
> same source code.
I do not understand this part. There is an explicit interface available as both
are contained in the s
--- Comment #2 from tkoenig at gcc dot gnu dot org 2008-01-04 09:26 ---
We catch this with an explicit interface, but we
should still check for occurrence in the
same source code.
Setting to "diagnostic" as we aren't required to catch this
(no constraint violation).
--
tkoenig at gc
--- Comment #1 from burnus at gcc dot gnu dot org 2008-01-04 07:11 ---
Confirm.
NAG f95 prints:
Error: Element of assumed-shape array A supplied for array argument A (no. 1)
of S2
ifort:
Error: If the actual argument is scalar, the corresponding dummy argument shall
be scalar unless th
10 matches
Mail list logo