https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123587
--- Comment #17 from Martin Jambor <jamborm at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #16) > Created attachment 63783 [details] > reduced slightly Thanks a lot. Using this, I can reproduce the ICE on master and it indeed goes away with the patch for PR123629 I referred to in comment #14. Looking at the dumps, the issue looks exactly the same too: Polymorphic call context meet: Outer type (dynamic): struct Sema (or a derived type) offset 0 With context: Speculative outer type:struct Sema (or a derived type) at offset 0 Updated as: nothing known
