This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Committed] PR fortran/77420 -- revert previous commit
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 13 Sep 2016 19:08:10 +0200
- Subject: Re: [Committed] PR fortran/77420 -- revert previous commit
- Authentication-results: sourceware.org; auth=none
- References: <20160913170556.GA25145@troutmask.apl.washington.edu>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Sep 13, 2016 at 10:05:56AM -0700, Steve Kargl wrote:
> --- gcc/fortran/module.c (revision 240117)
> +++ gcc/fortran/module.c (working copy)
> @@ -4647,7 +4647,7 @@ load_equiv (void)
> }
>
> /* Check for duplicate equivalences being loaded from different modules */
> - duplicate = gfc_current_ns->equiv ? false:true;
Just a nit. This would have been better written as !gfc_current_ns->equiv;
and if not, it is badly formatted (it should be ? false : true;).
Jakub