https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90367
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I doubt there is anything GCC can do it here in a reasonable fashion. I will let someone else reduce the testcase in a reasonable way that shows the problem. Most likely GCC decided that FindAndConstruct should not be inlined due to the size limits. So this is a much more complex problem than what the reduced testcases creduce has done (which both have been bogus in the first place).