https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95158
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[10/11 Regression] |[8/9 Regression] Templates |Templates + Diamond |+ Diamond Inheritance + |Inheritance + Final = Pure |Final = Pure Virtual |Virtual Function Call |Function Call Target Milestone|10.2 |8.5 Known to work|9.3.0 | --- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- If I change bar to call foo on a local Derived variable instead of 'this', it breaks back to GCC 8. Fixed so far for 10.2/11.