[Bug tree-optimization/64277] [4.9/5.0 Regression] Incorrect warning "array subscript is above array bounds"

izamyatin at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 23 17:35:00 GMT 2014


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

Igor Zamyatin <izamyatin at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |izamyatin at gmail dot com

--- Comment #1 from Igor Zamyatin <izamyatin at gmail dot com> ---
Warnings are issued by vrp2.

It happens when we have both vector and scalar versions of code. Something
seems to confuse VRP analysis, probably the reason is that m and nc are shorts.
Changing them to int makes warnings disappear



More information about the Gcc-bugs mailing list