https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65130
Kai Tietz <ktietz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu.org --- Comment #4 from Kai Tietz <ktietz at gcc dot gnu.org> --- Created attachment 34876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34876&action=edit Suggested patch avoiding endless-recursing by hash_set for visted edges The patch solves the reported issue for me on x86_64-unknown-linux-gnu. It avoids that we recurse within functions we already visited. While working on this I noticed that code uses pretty much stack due passing vecs' as copy on stack. This makes especially on targets with fixed amount of stack seriously troubles. But well, this is nothing to address by this patch