Hi I would like to get local variables defined in template function / method, but I have no idea how to do it. For non template functions / methods I just : BIND_EXPR_BLOCK( DECL_SAVED_TREE( _function ) ) and then iterate through blocks, subblocks. For each block I get defined variables from BLOCK_VARS. Unfortunately it doesn't work for template functions / methods - theirs DECL_SAVED_TREE returns BIND_EXPR with undefined type and BIND_EXPR_BLOCK( DECL_SAVED_TREE( _template_function) ) returns NULL. Any idea how should I do it ? Thank you Klesk