Re: undefined reference to `gt_pch_nx_tree_code'

2009-11-02 Thread Aravinda
Hi, Thanks a lot for your time and replies.. It worked. Im sorry it was a silly mistake that I dint notice. Aravinda On Sun, Nov 1, 2009 at 5:45 PM, Laurynas Biveinis wrote: >> static GTY(( is_param(union tree_code) )) htab_t boud_ins = NULL; > > Ah, now it's clear. You probably wanted "union t

Re: undefined reference to `gt_pch_nx_tree_code'

2009-11-01 Thread Laurynas Biveinis
> static GTY(( is_param(union tree_code) )) htab_t boud_ins = NULL; Ah, now it's clear. You probably wanted "union tree_node" with n, not c, here. -- Laurynas

Re: undefined reference to `gt_pch_nx_tree_code'

2009-11-01 Thread Aravinda
Hi, Thanks a lot for the reply. No, I am not using any specific tree_code definitions and I have included tree.h in the pass file. I dont know if some code will help, but, this is what I am doing gcc-svn/gcc/tree-boud.c ... static GTY(( is_param(union tree_code) )) htab_t boud_ins = NULL; ... #inc

Re: undefined reference to `gt_pch_nx_tree_code'

2009-11-01 Thread Laurynas Biveinis
Hi, It's hard to tell. The normal definition of tree_code is enum in tree.h and it is an atomic type with respect GCC garbage collection. But the names like gt_gcc_mx_tree_code suggest that GCC internals try to treat it as a struct or some other non atomic type. Any chance that your source does n