[patch,fortran,committed] Fixed memory allocation in expr.c for 4.2 [PR29713]

Brooks Moses brooks.moses@codesourcery.com
Sat Nov 11 22:18:00 GMT 2006


Tobias Burnus wrote:
> (As the original patch for the trunk came from FX I credit him)
> 
> Index: gcc/fortran/ChangeLog
> ===================================================================
> --- gcc/fortran/ChangeLog       (Revision 118703)
> +++ gcc/fortran/ChangeLog       (Arbeitskopie)
> @@ -1,3 +1,8 @@
> +2006-11-11  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
> +
> +       PR fortran/29713
> +       * expr.c (gfc_simplify_expr): Correct memory allocation.
> +

FWIW, a way I've seen that handled in gcc/ChangeLog is something like 
the following:

----------------------------------------------------------------------
2006-11-11  Tobias Burnus <email@example.com>

	Backport from mainline:
	2006-10-??  Francois-Xavier Coudert  <coudert@clipper.ens.fr>

	PR fortran/29713
	* expr.c (gfc_simplify_expr): Correct memory allocation.

----------------------------------------------------------------------

Seems to me like a fairly clear way of apportioning blame and credit 
appropriately, though I haven't seen it used that often.  (I've also 
seen just the "Backport from mainline:" line used, in cases where 
someone was backporting their own patch.)  I think it's a form that's 
worth encouraging.

- Brooks



More information about the Fortran mailing list