On Fri, 2020-05-08 at 18:50 +0200, Mark Wielaard wrote: > Some gcc -flto versions imported other top-level compile units, > skip those. Otherwise we'll visit various DIE trees multiple times. > > Note in the testcase that with newer GCC versions function foo is > fully inlined and does appear only once (as declared, but not as > separate subprogram).
Pushed to master.