hi
I have written a small structure (function_cfg_info) to hold CFG information (defined in new file tree-cfg.h) and wanted to add this to call graph node data structure (in cgraph.h). When I add this
to cgraph_node , it is unable to find this structure, even after including the tree-cfg.h. I updated the make file as well to suit the changes, something like:
TREE_CFG_H = tree-cfg.h $(BASIC_BLOCK_H)
CGRAPH_H = cgraph.h tree.h $(TREE_CFG_H)


for example if i define a type, in tree-cfg.h, as :
typedef struct function_cfg_info *fun_cfg_info ;
and add following to cgraph.h :
fun_cfg_info cfginfo ;

  Can someone help me in figuring out the problem with this.

Regards.
Virender

Reply via email to