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: Daniel Berlin <dberlin at dberlin dot org>
- To: Brian Booth <bbooth at redhat dot com>
- Cc: GCC-Patches <gcc-patches at gcc dot gnu dot org>,Richard Henderson <rth at redhat dot com>,Diego <dnovillo at redhat dot com>
- Date: Fri, 23 Jul 2004 13:49:03 -0400
- Subject: Re: [PATCH] Remove DUP_PASS macro
- References: <1090603941.8134.155.camel@toss-off.toronto.redhat.com>
On Jul 23, 2004, at 1:32 PM, Brian Booth wrote:
Hi,
This patch adds a flag to struct tree_opt_pass that keeps track of
whether the optimization pass has been added to the pass list. This
flag
is then used by NEXT_PASS to determine whether the optimization pass
being added to the list needs to be copied. This removes the need to
manually use the macro DUP_PASS to duplicate optimization passes.
Bootstrapped and tested on i686-pc-linux-gnu. OK?
Won't all the in_pass_list be initialized to 0 anyway without you
having to do it (and thus, touch all these files)?
>