[Bug fortran/33544] Spurious warning in TRANSFER intrinsic in Sept 24 snapshot of gfortran
sgk at troutmask dot apl dot washington dot edu
gcc-bugzilla@gcc.gnu.org
Mon Sep 24 21:49:00 GMT 2007
------- 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 -0000, pinskia at gmail dot com wrote:
> On 24 Sep 2007 19:59:37 -0000, sgk at troutmask dot apl dot washington
> dot edu <gcc-bugzilla@gcc.gnu.org> 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.
>
> Though I will argue that is just bad coding.
>
It doesn't matter if it's bad coding (which I can agree).
AFAIK, the standard says the code is legal.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33544
More information about the Gcc-bugs
mailing list