This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33544] Spurious warning in TRANSFER intrinsic in Sept 24 snapshot of gfortran
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2007 21:49:47 -0000
- Subject: [Bug fortran/33544] Spurious warning in TRANSFER intrinsic in Sept 24 snapshot of gfortran
- References: <bug-33544-14284@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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