https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122509

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced:
```

namespace s {
  template<class A>
  struct v
  {
    int size();
  };
}
struct D : public s::v<double>, public s::v<int> {
        int z() { return this->v<int>::size(); }
};
int main() {
        D().v<int>::size();
}
```

Reply via email to