https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80913
--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> --- yes, must be something with a 32-bit target. I can reproduce it on x86_64 linux host targeting either i386-linux or i386-solaris. We have a TYPE_DECL whose TREE_CHAIN points to itself. So when the spelling corrector iterates over the decls in a namespace it gets stuck at that point. It's end of day here, so don't expect more progress until tomorrow.