This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto] PATCH: change low-level CALL_EXPR representation
- From: Ian Lance Taylor <iant at google dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: 10 Aug 2006 08:37:01 -0700
- Subject: Re: [lto] PATCH: change low-level CALL_EXPR representation
- References: <44DB42C9.9030102@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com> writes:
> 2006-08-10 Sandra Loosemore <sandra@codesourcery.com>
>
> * gcc/gentype.c (walk_type): When walking an array, compute the
> length and store it in a local variable before walking the array
> elements, instead of recomputing the length expression each time
> through the loop. This is necessary to handle the new CALL_EXPR
> representation where the length is stored in the first array element,
> because otherwise that operand was getting overwritten on the
> first iteration.
Please put explanations as comments in the code, not in the ChangeLog
entry. Thanks.
Ian