[Bug libstdc++/91547] std::string_view find_last_not_of can trigger unsigned integer overflow

2019-08-27 Thread mateusz.szychowski at blackstarsoftware dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91547 --- Comment #3 from Mateusz Szychowski --- > The behaviour of that function is perfectly well defined. > Yes because it is not useful and causes to print when there is no bug at all > and wrapping behavior is expected. It was a decison that

[Bug libstdc++/91547] New: std::string_view find_last_not_of can trigger unsigned integer overflow

2019-08-26 Thread mateusz.szychowski at blackstarsoftware dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: mateusz.szychowski at blackstarsoftware dot com Target Milestone: --- Created attachment 46752 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46752=edit Preproces