--- Additional Comments From rsandifo at gcc dot gnu dot org 2005-09-08
09:21 ---
Patch applied to trunk.
--
What|Removed |Added
Status|ASSIGNED
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-08
09:20 ---
Subject: Bug 23373
CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-09-08 09:20:08
Modified files:
gcc/fortran: ChangeLog trans-expr.c
gcc/t
--- Additional Comments From richard at codesourcery dot com 2005-09-07
17:07 ---
Subject: Re: Functions returning pointers with pointer argument
"tobi at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes:
> I don't have the standard at hand, but both the Intel and the Portland Group
> c
--- Additional Comments From tobi at gcc dot gnu dot org 2005-09-07 17:04
---
I don't have the standard at hand, but both the Intel and the Portland Group
compiler accept this.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23373
--- Additional Comments From rsandifo at gcc dot gnu dot org 2005-09-07
16:58 ---
Hmm. I supposed I'd better check. Is the following code
also valid:
program main
implicit none
real, dimension (:), pointer :: x
x => null()
x => test ()
contains
function test
real, dimens
--- Additional Comments From rsandifo at gcc dot gnu dot org 2005-09-07
15:59 ---
Testing a patch.
--
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |rsa
--- Additional Comments From tobi at gcc dot gnu dot org 2005-08-14 15:53
---
An alternative approach to setting up a temporary in the caller would be to have
pointer-valued functions use a fake result variable, which only immediately
before returning gets assigned to the real result. T
--- Additional Comments From tobi at gcc dot gnu dot org 2005-08-13 18:51
---
Interestingly, for characters we do the correct copying:
[EMAIL PROTECTED]:~/src/tests> cat test2.f90
program ac
character*10 a
a = "abc"
a = f(a)
contains
function f(b) result(x)
character*10
--- Additional Comments From tobi at gcc dot gnu dot org 2005-08-13 18:43
---
Looks like dependency checking is not strict enough.
--
What|Removed |Added
CC|
--
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed||1
Last reconfirmed|-00-00 00:00:00 |2005-08-
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-13
11:47 ---
*** Bug 23374 has been marked as a duplicate of this bug. ***
--
What|Removed |Added
--- Additional Comments From pault at gcc dot gnu dot org 2005-08-13 09:31
---
(In reply to comment #0)
Edmund,
>
> professional. Is there a workaround or is this a bug which must be fixed?
>
>
Thomas beat you to it!
In the mean time, the following works:
program Realloc
12 matches
Mail list logo