https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66868
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I don't see significant difference when adding the CD = CD; on the gcc 5 branch either. So, IMNSHO, if you want anything to move forward on this issue, you need to create a (small) self-contained testcase out of it. Add noinline attributes to the functions/methods that are called in FindPackages and do not need to be inlined to reproduce it, add noinline to FindPackages itself, if it still reproduces, stub the noinline functions/methods it calls and stub a caller (new main) that calls FindPackages that just sets up everything that is needed to reproduce.
