Re: Accessing current_function_decl body

2010-01-18 Thread Paulo J. Matos
Hi all, I have received no reply regarding this issue so I am still wondering if anyone has any idea about this since I am still struggling to understand if the tree of current_function_decl gets partially destroyed during the expand pass where TARGET_FUNCTION_OK_FOR_SIBCALL gets called. If anybo

Accessing current_function_decl body

2010-01-14 Thread Paulo J. Matos
Hi, I am trying to walk through the body of the current_function_decl in TARGET_FUNCTION_OK_FOR_SIBCALL for a specific arch in gcc 4.3.4. I am using DECL_SAVED_TREE but it's not working as I expect. For the c file: extern unsigned int source_size(void *s); extern void source_drop_no_checks(void *s