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] |
On Mon, Jun 19, 2006 at 01:13:39PM +0200, François-Xavier Coudert wrote: > >The patch converts the record number used for direct I/O to type > >gfc_offset in > >the library and on the front end changes the type to int8 to match. > > A gfc_offset is an off_t, which might not always be an int8. > > The current situation is for the front-end to use > /* Choose the integer kind the same size as "void*" for our index kind. > */ > gfc_index_integer_kind = POINTER_SIZE / 8; > which means supposing that an off_t is always the same as a (void *). > I don't know if that assumption is right... It's incorrect. E.g. off_t is 64 bits on systems with large file support, even though they may have a 32 bit void*. -- Janne Blomqvist
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |