This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR 34472: Fix use-after-free() and VEC iteration bugs in ipa-struct-reorg
- From: Richard Sandiford <rsandifo at nildram dot co dot uk>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, olga at gcc dot gnu dot org
- Date: Thu, 10 Jan 2008 13:47:01 +0000
- Subject: Re: PR 34472: Fix use-after-free() and VEC iteration bugs in ipa-struct-reorg
- References: <8763y13j8c.fsf@firetop.home> <200801101445.52359.ebotcazou@adacore.com>
Eric Botcazou <ebotcazou@adacore.com> writes:
>> PR rtl-optimization/34472.
>> * ipa-struct-reorg.c (safe_cond_expr_check): Change the DATA
>> parameter to a "bool *" and set *DATA to false if there is
>> an unsafe access. Do not delete the structure here.
>> (check_cond_exprs): Delete it here instead. Do not increase I
>> when removing a structure.
>> (exclude_cold_structs): Do not increase I when removing a structure.
>
> You meant tree-optimization, didn't you?
Yes, sorry. Too long fighting that lazy binding thing.
Richard