This is the mail archive of the gcc-patches@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]

Re: [Committed] PR fortran/77420 -- revert previous commit


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


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