[Bug tree-optimization/107927] vector::push_back gives array bounds warning with optimization and undefined sanitizer

2022-12-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107927 --- Comment #4 from Jonathan Wakely --- It might be fixed by r13-4393-gcca06f0d6d76b0

[Bug tree-optimization/107927] vector::push_back gives array bounds warning with optimization and undefined sanitizer

2022-11-30 Thread larsbj at gullik dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107927 --- Comment #3 from Lars Gullik Bjønnes --- I cannot send you the unreduced preprocessed code and I have failed at creating a small snippet that produces the error. This is the compiler output though. Something might be gleaned from that. In

[Bug tree-optimization/107927] vector::push_back gives array bounds warning with optimization and undefined sanitizer

2022-11-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107927 --- Comment #2 from Jonathan Wakely --- In the original code that should be: const size_type __n = std::distance(__first, __last);

[Bug tree-optimization/107927] vector::push_back gives array bounds warning with optimization and undefined sanitizer

2022-11-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107927 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED