This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33544] Spurious warning in TRANSFER intrinsic in Sept 24 snapshot of gfortran



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]