This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: gfc_offset question (32 vs. 64 bits)
- From: Tobias SchlÃter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Steven Bosscher <stevenb at suse dot de>
- Cc: fortran at gcc dot gnu dot org, Steve Ellcey <sje at cup dot hp dot com>
- Date: Wed, 15 Dec 2004 13:32:19 +0100
- Subject: Re: gfc_offset question (32 vs. 64 bits)
- References: <200412142203.OAA07201@hpsje.cup.hp.com> <200412150228.21906.stevenb@suse.de>
Steven Bosscher wrote:
> On Tuesday 14 December 2004 23:03, Steve Ellcey wrote:
>
>>That certainly looks interesting. What do people think about an
>>environment variable to control this? gfc_offset would get set just
>>like it does now but you could set an environment variable
>>GFORTRAN_RECORD_OFFSET_SIZE to either 32 or 64.
>
>
> I think this would be a significant performance hit, which, frankly,
> I wouldn't accept for ia64.
Care to explain why? Checking one global variable during a read/write
shouldn't make much of a difference. The environment is parsed at program startup.
- Tobi