[Bug fortran/64854] No bound check for explicit-shape arrays

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Thu Jan 29 22:39:00 GMT 2015


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

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Note that the error is detected if the code is compiled with
-fsanitize=address. And IMO the right way to use the array in a 'contains' is
a(:) (for which -fcheck=bounds works).



More information about the Gcc-bugs mailing list