[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-fortran
Subject: Re: [PATCH] Avoid uninit warnings with Fortran optional args (PR fortran/52370)
From: Steve Kargl <sgk () troutmask ! apl ! washington ! edu>
Date: 2014-02-11 20:42:58
Message-ID: 20140211204258.GA27672 () troutmask ! apl ! washington ! edu
[Download RAW message or body]
On Tue, Feb 11, 2014 at 09:38:20PM +0100, Jakub Jelinek wrote:
>
> Optional dummy arg support vars are often undefined in various paths,
> while the predicated uninit analysis can sometimes avoid false positives,
> sometimes it can't. So IMHO we should set TREE_NO_WARNING here, it is
> already set on the other support vars like size.N, ubound.N, lbound.N, etc.
> but not on the actual data pointer.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>
Yes. Although trunk is in stage 4, your patch seems to be relatively
benign.
--
Steve
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic