[Bug middle-end/91146] -Werror=array-bounds if compile with -fsanitize=address

2019-07-12 Thread grishalipenko at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91146 --- Comment #3 from Grigorii Lipenko --- Created attachment 46593 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46593&action=edit llvm small_vector

[Bug middle-end/91146] -Werror=array-bounds if compile with -fsanitize=address

2019-07-12 Thread grishalipenko at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91146 --- Comment #2 from Grigorii Lipenko --- I remove gtest.h. #include "small_vector.h" class A { public: virtual void f () = 0; }; class B : public A { public: void f () override { small_vector v; v.insert (v.begin (), 1); } };

[Bug middle-end/91146] -Werror=array-bounds if compile with -fsanitize=address

2019-07-11 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91146 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1