https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70816
Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arthur.j.odwyer at gmail dot com --- Comment #2 from Arthur O'Dwyer <arthur.j.odwyer at gmail dot com> --- Confirmed, I'm also seeing this in C++20 mode. This affects libc++'s `char_traits<char>::length(const char *)`. Example test case: https://godbolt.org/z/MTq1ex