[Bug fortran/71027] -fsanitize=address catches out of bounds access on assumed size array only with -O0

zeccav at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon May 9 20:04:00 GMT 2016


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

--- Comment #2 from Vittorio Zecca <zeccav at gmail dot com> ---
Yes, you are right, and probably in real programs the subroutine would
not be optimized away.
Thank you for the explanation.


More information about the Gcc-bugs mailing list