This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Fortran array indexing on 64-bit targets & snapshot 971023
- To: law at cygnus dot com
- Subject: Re: Fortran array indexing on 64-bit targets & snapshot 971023
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Mon, 27 Oct 1997 14:46:14 -0800
- cc: Toon Moene <toon at moene dot indiv dot nluug dot nl>, egcs at cygnus dot com
I'd been thinking about this offline and was starting to wonder if
the FIXME really meant that the problem was sizetype was the wrong
type for the conversion and could cause problems.
I think it is an Ada specific problem. As Per Bothner mentioned, Ada
can have arbitrary range types. I suspect the problem occurs only with
Ada, and only if you have certain kinds of range types with certain values
for the lower/upper bound of the array.
However, I am not convinced that the problem actually does exist,
as I can't see any way to actually trigger the problem. I see no problem
with going ahead with the change, and if a problem does occur, we will then
have a better idea of what the real problem is and how to fix it.
Jim