On Wed, Feb 15, 2012 at 11:59:15AM -0600, Aldy Hernandez wrote: > Hmmm, isn't %K for trees? We're talking gimple, and FUNCTION_DECLs, > which don't have a TREE_BLOCK, here.
Gimple stmts have gimple_block, I guess you'd need to create some tree and set its TREE_BLOCK and EXPR_LOCATION from gimple_block/gimple_location. Or add something similar to %K that would take the same info from gimple stmt and pass a stmt instead of a tree. Jakub