https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118117
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118117
--- Comment #2 from Andrew Pinski ---
So GCC has had problems in the past (and looks like it still) with `typedef
struct {...} name;` Which should be the same as `struct name {...};` for C++.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118117
--- Comment #1 from Lorenzo Gomez ---
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.