This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove DUP_PASS macro
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: "Brian Booth" <bbooth at redhat dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 23 Jul 2004 19:51:03 +0200
- Subject: Re: [PATCH] Remove DUP_PASS macro
- References: <1090603941.8134.155.camel@toss-off.toronto.redhat.com>
Brian Booth wrote:
> This removes the
> need to manually use the macro DUP_PASS to duplicate optimization
> passes.
Great!
>+ /* Flag indicating whether the pass has already been added to the
>+ pass list. */
>+ unsigned int in_pass_list: 1;
BOOL_BITFIELD maybe?
+ 0 /* in_pass_list */
Why do we need this for every pass? Can't we just leave it out the initializer
so that it gets default-initialized to 0? Maybe you can document that it has to
stay at the bottom of the structure.
Giovanni Bajo