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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Reduced:

template <typename a> class b {
public:
  b(const a &);
};
struct {
  int *c;
} d;
void e() { b<const int *>(d.c); }

Reply via email to