Reinstate r173952, this time limiting it to exactly the form

  #define X X

for which there is no point warning, ever.