[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 12 17:48:00 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582

--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 47826
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47826&action=edit
gcc10-pr93582.patch

Untested patch for the first step, going to test this now on both little and
big endian.  If that works, my preference would be try to deal with the
composition from multiple stores without byte aligned everything next, and only
then start thinking about factoring stuff out etc.


More information about the Gcc-bugs mailing list