https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99360
--- Comment #3 from simon at pushface dot org --- (In reply to Eric Botcazou from comment #2) > Created attachment 50297 [details] > Stopgap fix > > To be applied on the 11 branch only. Worked a treat! on both x86_64 (for the code in the reproducer, which of course then went on to fail because of partial RTS) and for the original arm-eabi problem, which then executed its test code perfectly. I thought that maybe this would only work for predefined Containers, which isn’t true (it’s the Iterators); though I guess that home-grown containers might trigger the problem? Hopefully they’re rare in the wild.