[PATCH, Pointer Bounds Checker 24/x] PRE
Wed Sep 3 19:25:00 GMT 2014
On 08/18/14 07:02, Ilya Enkovich wrote:
> On 03 Jun 11:33, Richard Biener wrote:
>> On Tue, Jun 3, 2014 at 9:13 AM, Ilya Enkovich <email@example.com> wrote:
>>> This patch preserves CALL_WITH_BOUNDS flag for calls during PRE.
> Merging with the trunk I found that op2 field of vn_reference_op_struct is now used to pass EH context for calls and there is no more free field to store with_bounds flag. So I added one. Does it look OK?
> 2014-08-14 Ilya Enkovich <firstname.lastname@example.org>
> * tree-ssa-sccvn.h (vn_reference_op_struct): Transform opcode
> into bit field and add with_bounds field.
> * tree-ssa-sccvn.c (copy_reference_ops_from_call): Set
> with_bounds field for instrumented calls.
> * tree-ssa-pre.c (create_component_ref_by_pieces_1): Restore
> CALL_WITH_BOUNDS_P flag for calls.
For consistency, make the bitfield 16 bits (see ipa-inline.h,
tree-core.h and tree-ssa-sccvn.h.
OK with that change.
More information about the Gcc-patches