[Bug tree-optimization/113239] [13/14/15 regression] After 822a11a1e64, bogus -Warray-bounds warnings in std::vector

law at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 21 15:41:16 GMT 2024


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

--- Comment #11 from Jeffrey A. Law <law at gcc dot gnu.org> ---
I haven't verified, but I would suggest checking if that store conflicts with
the loads.  If it doesn't, then I would expect the loads to get CSE'd which in
turn would expose the key equivalence needed to optimize this code better.


More information about the Gcc-bugs mailing list