[Bug tree-optimization/115824] [12 Regression] Strange -Warray-bounds warning when assigning an initializer list to a vector of pointers

sjames at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 30 10:21:52 GMT 2024


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

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |redi at gcc dot gnu.org

--- Comment #7 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Randy MacLeod from comment #5)

As far as I know, the commit itself is fine, and it's the pesky middle-end
warnings again getting confused.

Jonathan might be willing to try rework it to avoid the warnings but it's a lot
of busywork and not particularly satisfying.

If someone can suggest some trivial change which shuts it up, that might work.


More information about the Gcc-bugs mailing list