"Iyer, Balaji V" <balaji.v.i...@intel.com> writes:

>       I would like to add 8 integer array fields (I am also OK if they are 
> tree-lists) into the tree data structure. I want to update this fields every 
> time I see loops. This value will be used later by the optimizer. I tried to 
> just add them into the structure in tree.h (under struct tree_base) and it is 
> seg-faulting. I am using GCC 4.6.0.
>
>       Can someone please tell me the procedure for adding elements into the 
> tree structure?

Hard to say what is wrong without more information.  Make sure that
tree_code_size returns the right values.  But really I would recommend
just using the debugger to find out what is causing the segfault.

Ian

Reply via email to