https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532
--- Comment #19 from Marek Polacek <mpolacek at gcc dot gnu.org> --- (In reply to Barnabás Pőcze from comment #17) > The simple test case with std::span still triggers the warning: > https://gcc.godbolt.org/z/43cKxdqr3. I feel that without deeper code > analysis such a warning will generate too many false positives and people > will simply turn it off. ...but I could at least add a std::span check to fix this test...