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: [PATCH] Remove DUP_PASS macro



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)?
>


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