Re: Are f.p. manipulation functions only used in initialization?
- From: Tobias Burnus <burnus@xxxxxxxx>
- Date: Sun, 27 Apr 2008 01:25:20 -0700 (PDT)
On Apr 27, 4:55 am, "James Van Buskirk" <not_va...@xxxxxxxxxxx> wrote:
"James Van Buskirk" <not_va...@xxxxxxxxxxx> wrote in messagenews:QdCdnaPuP40qNo7VnZ2dnUVZ_hWdnZ2d@xxxxxxxxxxxxxx
"-frepack-arrays
It is not mentioned here that this is one of the options that makes
the program behave contrary to the standard:
Confirmed. The problem is that in the function "point" a temporary
array is created to contain the repacked data of the dummy argument
"x". Thus, the pointer points to the temporary array and not to the
dummy array.
Solution: Do not repack dummy arguments with the TARGET attribute. I
filled now http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36059
Thanks for the bug report. (Maybe I should re-read at some point the
gfortran documentation, there are options I have never heard of.)
Tobias
.
- Follow-Ups:
- Re: Are f.p. manipulation functions only used in initialization?
- From: James Van Buskirk
- Re: Are f.p. manipulation functions only used in initialization?
- References:
- Are f.p. manipulation functions only used in initialization?
- From: James Van Buskirk
- Re: Are f.p. manipulation functions only used in initialization?
- From: Steven G. Kargl
- Re: Are f.p. manipulation functions only used in initialization?
- From: James Van Buskirk
- Re: Are f.p. manipulation functions only used in initialization?
- From: James Van Buskirk
- Are f.p. manipulation functions only used in initialization?
- Prev by Date: Re: Bug in gfortran when reading end of file?
- Next by Date: Re: Are f.p. manipulation functions only used in initialization?
- Previous by thread: Re: Are f.p. manipulation functions only used in initialization?
- Next by thread: Re: Are f.p. manipulation functions only used in initialization?
- Index(es):
Relevant Pages
|
|