[RFC] fseek, an alternative implementation (PR22359)

Janne Blomqvist blomqvist.janne@gmail.com
Mon Apr 30 07:39:00 GMT 2007


On 4/30/07, Jerry DeLisle <jvdelisle@verizon.net> wrote:
> I like the idea of the status flag.  I will repeat here Janne's comment on IRC
> to consider casting the integer offset to GFC_OFFSET and having only one type
> function call in the library.

I don't think the front end knows what sizeof(gfc_offset) is on the
target. But rather than worry about teaching the frontend yet another
detail about the target, I'd suggest just using  INTEGER(8) for
offsets, whether the target has LFS support or not. Unless we claim to
support targets that don't support 8 byte integer types at all?


-- 
Janne Blomqvist



More information about the Fortran mailing list