[Bug middle-end/91584] Bogus warning from -Warray-bounds during string assignment
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 29 22:39:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91584
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Yes, the array domain checking wasn't correct for languages where the first
element of an array is at a nonzero index. I posted the following patch:
https://gcc.gnu.org/ml/gcc-patches/2019-08/msg02020.html
More information about the Gcc-bugs
mailing list