https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118117
--- Comment #1 from Lorenzo Gomez <lgomez at windhoverlabs dot com> --- I should also mention that if undef USE_VIRTUAL, then there is NO issue. So the combination of array of nested structs (t1::t2 in this case) and having a virtual method in t1 triggers this issue.