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


On Tue, Oct 31, 2006 at 11:03:43AM +0100, Fran?ois-Xavier Coudert wrote:
> :ADDPATCH fortran:
> 
> Hi all,
> 
> Attached patch corrects a few functions which did not correctly
> NULL-terminate value.character.string for CHARACTER constants.
> Although it appears that this NULL-termination was not required when
> the front-end was first written, a few places now rely on it, and I
> don't think it's too bad to accomodate them. I've tried to review and
> fix not only the problem in the original PR, but all other such
> places.
> 
> OK for mainline, 4.2 and 4.1?
> 

OK with a proper ChangeLog.



-- 
Steve


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