This is the mail archive of the gcc-patches@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]

Re: [gfortran,patch] Correctly NULL-terminate character constant strings


Tobi,

Fortran strings can contain '\0', so assuming that '\0' is the string termination character may lead to problems. Does code, which is not there for debugging only, depend on NUL-termination of strings?

I will in the next 24 hours check if this fixes the remaining iso_varying_string testcases, which die a death on zero length strings. I suspect that it will help ;-)


Paul


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