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

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Tue Jul 19 16:39:00 GMT 2016


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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Yes, you are right, and probably in real programs the subroutine would
> not be optimized away.
> Thank you for the explanation.

Closing as INVALID.


More information about the Gcc-bugs mailing list