This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Fwd: [PATCH, libgfortran] Fix PR26890 SIZE parameter interacts with variable in IO list]
- From: Paul Thomas <paulthomas2 at wanadoo dot fr>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: Jerry DeLisle <jvdelisle at verizon dot net>, Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 31 Mar 2006 07:14:22 +0200
- Subject: Re: [Fwd: [PATCH, libgfortran] Fix PR26890 SIZE parameter interacts with variable in IO list]
- References: <442B700A.9070104@verizon.net> <442C480F.1030206@wanadoo.fr> <20060330211104.GA6427@troutmask.apl.washington.edu>
Steve,
Without checking the file history, I'd guess that this may
be from Jakub's thread-safe library work. The padding would
provide future growth of the struct while maintaining
backwards compatibility.
This is not apparent from the ChangeLog but I think that you are right.
Perhaps it might be in order to write a comment in gfortran.h as to how
16 * sizeof (char *) + 34 * sizeof (int) - sizeof (gfc_offset) came to
be chosen and what length should be kept for the structure?
Paul