[Bug fortran/65089] FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sat Apr 4 08:53:00 GMT 2015


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |kcc at gcc dot gnu.org

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I confirme that the patch in comment 3 "fixes" the PR. I have added a line

printf("len=%d, strlen(p)=%d\n", len, strlen(p));

after the 'for' loop and AFAICT len == strlen(p), however runing the code
compiled with -fsanitize=address still gives the error.

So I am wondering if this PR is not a sanitizer false positive when using
strlen.



More information about the Gcc-bugs mailing list