--- Comment #8 from michael dot a dot richmond at nasa dot gov 2007-09-26
15:36 ---
An analogous message appears when I compile the program listed below with the
flag "-fdefault-real-8":
qq.f90:3.15:
rft = TRANSFER('abcd', 0.0)
1
Warning: Intrinsic TRANSFER at (1) has par
--- Comment #7 from sgk at troutmask dot apl dot washington dot edu
2007-09-24 21:49 ---
Subject: Re: Spurious warning in TRANSFER intrinsic in Sept 24 snapshot of
gfortran
On Mon, Sep 24, 2007 at 09:26:01PM -, pinskia at gmail dot com wrote:
> On 24 Sep 2007 19:59:37 -, sgk a
--- Comment #6 from pinskia at gmail dot com 2007-09-24 21:26 ---
Subject: Re: Spurious warning in TRANSFER intrinsic in Sept 24 snapshot of
gfortran
On 24 Sep 2007 19:59:37 -, sgk at troutmask dot apl dot washington
dot edu <[EMAIL PROTECTED]> wrote:
> The programmer for whatever
On 24 Sep 2007 19:59:37 -, sgk at troutmask dot apl dot washington
dot edu <[EMAIL PROTECTED]> wrote:
> The programmer for whatever reason could be using rft as temporary storage.
> Yes, I know it's a hypothetical situation, but the following is legal code
> and should not give a warning.
Thou
--- Comment #5 from sgk at troutmask dot apl dot washington dot edu
2007-09-24 19:59 ---
Subject: Re: Spurious warning in TRANSFER intrinsic in Sept 24 snapshot of
gfortran
On Mon, Sep 24, 2007 at 07:17:54PM -, burnus at gcc dot gnu dot org wrote:
>
>
> --- Comment #4 from b
--- Comment #4 from burnus at gcc dot gnu dot org 2007-09-24 19:17 ---
> We may want to hide the warning behind a -Wshort-transfer option
> (or some other appropriate name).
Maybe; I think having a warning by default would be more reasonable but it
should be hideable.
> Afterall, if a p
--- Comment #3 from kargl at gcc dot gnu dot org 2007-09-24 18:57 ---
Tobias,
We may want to hide the warning behind a -Wshort-transfer option
(or some other appropriate name). Afterall, if a programmer
wrote 'rft = transfer(' ', 0.0)', then s/he probably meant it.
--
kargl at gcc
--- Comment #2 from burnus at gcc dot gnu dot org 2007-09-24 17:26 ---
(In reply to comment #0)
> When I compile the program listed below with the snapshot version of gfortran
> dated September 24 I get the following spurious warning:
> pp.f90:3.15:
> rft = TRANSFER(' ', 0.0)
>
--- Comment #1 from pinskia at gmail dot com 2007-09-24 15:53 ---
Subject: Re: New: Spurious warning in TRANSFER intrinsic in Sept 24 snapshot
of gfortran
On 24 Sep 2007 15:48:19 -, michael dot a dot richmond at nasa dot
gov <[EMAIL PROTECTED]> wrote:
> When I compile the program l