This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATH: call move init_reg_modes call (for compile-server)
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 02 Aug 2003 18:45:30 -0700
- Subject: Re: PATH: call move init_reg_modes call (for compile-server)
- References: <3F2C6102.8070607@bothner.com>
Per Bothner <per@bothner.com> writes:
> This a minor moving-things-around-for-the-compile-sever patch.
> The problem is that we need to separate out:
> (1) true one-time-only initialization; and
> (2) (re-)initialization per output file.
>
> init_emit_once and init_reg_modes are in category (1), while
> most of init_regs *except* for the call to init_reg_modes is
> in category (2). Hence the attached patch.
Entirely serious question: why is the rest of init_regs in category 2?
*Should* it be in category 2, or is this an implementation accident?
zw