https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58589
--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #4) > There's nothing showing the location of the "a = a" expression that requires > the deleted Y::operator=(const Y&). IMHO, the problem is the instantiation trace: > j.cc:10:8: required from here does not show any useful location. It should show the location of "a = a"