On Fri, 24 Oct 2014 09:16:01 +0200, Doug Evans wrote: > This breaks an abstraction boundary, IWBN to preserve it. > [IOW, I look at dict_* as being an implementation detail of blocks.] > > If we were to go this route (and apologies for the delay), can you > write a routine like lookup_block_symbol which does the above and call > that here instead? > > lookup_block_symbol should live in block.c, not symtab.c. > That's where this new routine should go too. Done. For the 'slow.C' test the performance gain is even higher; but I have not re-benchmarked the 'non-trivial app': Command execution time: 26.540344 (cpu), 26.575254 (wall) -> Command execution time: 0.310607 (cpu), 0.311062 (wall) = 85x OK for check-in? No regressions on {x86_64,x86_64-m32,i686}-fedora21-linux-gnu native and in DWZ and in -fdebug-types-section modes. Thanks, Jan