https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90508
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note the older gccs even get the line even more wrong, take: ``` template <class b> struct a { int t; virtual b g() { return 0; } }; a<void> t; int tt; a<int> t1; int tt1; ``` The error points to the line containing a<int> which has no relationship to a<void> even.