[Bug tree-optimization/111273] Spurious array-bounds error when copying data using _GLIBCXX_DEBUG iterators

2023-09-03 Thread jgrossma at qti dot qualcomm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111273 --- Comment #2 from J Grossman --- @Jonathan whether it's a warning or an error, it's incorrect. I'm filling a 1 element array with 1 element and it's saying it's out of bounds. That's a bug. I would like to use -Warray-bounds to catch coding m

[Bug c++/111273] New: Spurious array-bounds error when copying data using _GLIBCXX_DEBUG iterators

2023-09-01 Thread jgrossma at qti dot qualcomm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111273 Bug ID: 111273 Summary: Spurious array-bounds error when copying data using _GLIBCXX_DEBUG iterators Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: