This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]