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