https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113960
Stefan Schulze Frielinghaus <stefansf at linux dot ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jwakely at redhat dot com --- Comment #4 from Stefan Schulze Frielinghaus <stefansf at linux dot ibm.com> --- While giving it a second thought maybe something like const auto __len_bytes = __len * std::min (sizeof (*__first1), sizeof (*__first2)); would be more appropriate since AFAICT the types _InputIter1 and _InputIter2 are not related to each other w.r.t. to their pointed size. Maybe Jonathan can shed some light on this?