https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98814
Ivan Sorokin <vanyacpp at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vanyacpp at gmail dot com --- Comment #2 from Ivan Sorokin <vanyacpp at gmail dot com> --- PR87850 looks similar. It discusses only pointers, but I think it can be generalized to any type that has operator*: pointers, iterators and smart-pointers.