--- Comment #10 from pault at gcc dot gnu dot org 2007-05-11 12:47 ---
Subject: Bug 30876
Author: pault
Date: Fri May 11 11:46:47 2007
New Revision: 124616
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124616
Log:
2007-05-11 Paul Thomas [EMAIL PROTECTED]
PR
--- Comment #11 from pault at gcc dot gnu dot org 2007-05-11 12:47 ---
Fixed on trunk
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #9 from patchapp at dberlin dot org 2007-05-10 08:13 ---
Subject: Bug number Pr30876
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00579.html
--
--- Comment #7 from pault at gcc dot gnu dot org 2007-05-08 13:51 ---
I'll submit a fix tonight.
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #8 from pault at gcc dot gnu dot org 2007-05-08 13:52 ---
Oops!
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
Status|RESOLVED
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org
|dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-03-22 07:41 ---
(In reply to comment #5)
Then, the following should be invalid and rejected, shouldn't it?
recursive function f(i)
integer :: f, i
f = 0
if (i 0) f = f(i-1) + 1
end function
NAG f95:
line 4: Recursive
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-03-22 00:22
---
(In reply to comment #3)
12.5.2.1 Function subprogram
If RESULT is not specified, the result variable is function- name and all
occurrences of the function name in execution-part statements are references
to
--- Comment #2 from pault at gcc dot gnu dot org 2007-02-21 16:33 ---
fortcom: Warning: dtgv.f90, line 9: Recursive array-valued function without
result variable ambiguous [TEST]
Goes right to the nub of it. Within test, is an r-value expression that
contains a reference to test
--- Comment #3 from burnus at gcc dot gnu dot org 2007-02-21 17:03 ---
Paul,
fortcom: Warning: dtgv.f90, line 9: Recursive array-valued function without
result variable ambiguous [TEST]
Goes right to the nub of it. Within test, is an r-value expression that
contains a
--- Comment #4 from pault at gcc dot gnu dot org 2007-02-21 18:52 ---
Tobias,
Well, it is easy:
12.5.2.1 Function subprogram
If RESULT is not specified, the result variable is function- name and all
occurrences of the function name in execution-part statements are references
to
--- Comment #1 from burnus at gcc dot gnu dot org 2007-02-20 16:28 ---
Compiles with nagf95 and g95.
ifort and gfortran give however the following error messages:
test=test(3)
1
Error: 'test' is array valued and directly recursive at (1) , so the keyword
RESULT must be
12 matches
Mail list logo