This is the mail archive of the gcc@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: [tree-ssa][ GC, Virtual operands, and GCing between passes


> The problem is that gengtype will not allow me to have vevotrs of type
> tree **. It says its an unknown type.
> 
> typedef struct def_optype_d GTY(())
> {
>   unsigned num_defs;
>   tree ** defs;
> } def_optype_t;

Try this with http://gcc.gnu.org/ml/gcc-patches/2003-12/msg00593.html.

If that doesn't work, make it "PTR * GTY((skip ())) defs" (or just
"void **" if you have that patch applied anyway) and cast to tree
where needed.

Gr.
Steven



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