This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/65089] FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Apr 2015 00:00:31 +0000
- Subject: [Bug fortran/65089] FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address
- Auto-submitted: auto-generated
- References: <bug-65089-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65089
--- Comment #8 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
True, fortran strings are not generally NULL terminated. However, for internal
representation between Frontend and library we try to do so for safety.
Evidently missed one or don't have it in this case. Still odd that my manual,
so to speak, 'for' loop is finding a NULL and counting the correct length. I
will do some more digging, probably something "obvious". Just not seeing it
yet.