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: PR 34472: Fix use-after-free() and VEC iteration bugs in ipa-struct-reorg


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


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