https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87531
--- Comment #9 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Created attachment 45169 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45169&action=edit non operator= version This turns out to be an orthogonal regression as shown by the new testcase. We fail to notice there are template definitions in the current class. works in 7.x fails in 8.x & trunk