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 for unformatted sequential writes


On Thu, Jun 17, 2004 at 08:56:23PM -0700, Zack Weinberg wrote:
> Bud Davis <bdavis@gcc.gnu.org> writes:
> 
> > Here is an implementation that should make most people happy.  It adds a
> > new run-time environment variable, called
> >
> > GFORTRAN_SEQUENTIAL_IO_RECORD_SIZE_MAX_BITS
> >
> > it can be set to either 32 or 64.  the default is the size of off_t,
> > which was the previous default for gfortran.
> 
> Oh ick.  This is what they call a "please unbreak my program" toggle.
> Why can't you use a variable-length encoding for the record size
> (several such were posted the last time this came up) so that
> everything just works?
> 

Do you have pointers to the previous posts?  Bud is 
probably concerned with backwards compatibility with
g77 and the future of 64-bit computing (amd64, ia64,
etc) where 2 GB record lengths are prohibitive.

-- 
Steve


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