[Committed] Fix PR fortran/25587

Andrew Pinski pinskia@physics.uc.edu
Wed Dec 28 22:08:00 GMT 2005


The problem here was an off by one when copying the string so we missed 
the
NULL character.

Committed to the mainline and the 4.1 branch as obvious after a build 
and
test on powerpc-darwin.

Thanks,
Andrew Pinski

ChangeLog:
	* trans-io.c (gfc_build_st_parameter): Correct off by one error.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixPR25587.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20051228/db2062c7/attachment.txt>


More information about the Gcc-patches mailing list