[Bug c/78891] Array out of bound access generates wrong code in O2 or higher optimizations
gcc at fischerpaulsen dot dk
gcc-bugzilla@gcc.gnu.org
Wed Dec 21 21:42:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78891
Christian Paulsen <gcc at fischerpaulsen dot dk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |---
--- Comment #3 from Christian Paulsen <gcc at fischerpaulsen dot dk> ---
valgrind does NOT catch the the problem in the original code using array
indexing and not pointer calculation.
As the generated code does not access the array at all
More information about the Gcc-bugs
mailing list