https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96734
--- Comment #3 from Ariadne Conill <ariadne at dereferenced dot org> --- When that method.ii is compiled against g++ 9.3.0 with the provided options, it compiles successfully. When built using a cross-compiled g++ 10.2.0, it crashes. So, the issue is specific to 10.2.0 it seems.