Re: [PATCH] warn for reading past the end by library functions (PR 54924, 79234)

2017-05-04 Thread Jeff Law
On 04/20/2017 04:49 PM, Martin Sebor wrote: PR libstdc++/54924 - Warn for std::string constructor with wrong size asks for a warning when constructing a std::string from a character array and a number of elements that's in excess of the number of elements. E.g., std::string s ("abc", 7);

[PATCH] warn for reading past the end by library functions (PR 54924, 79234)

2017-04-20 Thread Martin Sebor
PR libstdc++/54924 - Warn for std::string constructor with wrong size asks for a warning when constructing a std::string from a character array and a number of elements that's in excess of the number of elements. E.g., std::string s ("abc", 7); PR middle-end/79234 - warn on past the end