This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Updated PATCH] rest_of_compilation reorg (-2 steps to using the pass manager everywhere :-)
- From: Richard Henderson <rth at redhat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Paolo Bonzini <paolo dot bonzini at polimi dot it>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 7 Jul 2004 23:33:26 -0700
- Subject: Re: [Updated PATCH] rest_of_compilation reorg (-2 steps to using the pass manager everywhere :-)
- References: <40E9264B.7060409@polimi.it> <20040708042556.GE16298@redhat.com> <87llhv58zi.fsf@codesourcery.com>
On Wed, Jul 07, 2004 at 11:05:53PM -0700, Zack Weinberg wrote:
> Um. Is it just me, or is relying on global variables to hold the
> content of the function to be optimized a step in the wrong direction?
It's just you. We have LOTS of variables that hold the content of
the function. Hoisting just one or two into an argument buys nothing.
r~