https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96780
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- As well as folding move and forward, it probably makes sense to do the same for as_const and addressof (and our internal __addressof). addressof is particularly annoying because it's uglier *and* slower than taking the address, but 100% necessary because of ADL.