This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] Rename gfc_code's expr4 field
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Mikael Morin <mikael dot morin at sfr dot fr>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Wed, 5 Aug 2015 12:24:55 -0700
- Subject: Re: [Patch, fortran] Rename gfc_code's expr4 field
- Authentication-results: sourceware.org; auth=none
- References: <55C25BDD dot 3080408 at sfr dot fr>
On Wed, Aug 05, 2015 at 08:54:21PM +0200, Mikael Morin wrote:
>
> this renames the expr4 field of gfc_code to the more descriptive
> ext.lock.acquired_lock.
> Regression tested on x86_64-unkown-linux-gnu. OK for trunk?
>
I don't have a problem with a name change.
> + /* LOCK/UNLOCK statements */
> + struct
> + {
> + gfc_expr *acquired_lock;
> + }
> + lock;
Just curious. Why add a struct with a single member?
I would have thought s/expr4/acquired_lock should suffice.
--
Steve