[patch, libfortran] Fix PR 18958

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Fri Apr 29 22:40:00 GMT 2005


Thomas Koenig wrote:
> On Mon, Apr 11, 2005 at 12:21:01AM +0200, I wrote:
> 
> 
>>This one-letter patch fixes PR 18958.  It changes index_type from
>>size_t to ssize_t, making it signed.
> 
> 
> Is this OK now, following the discussion on PR 18857?

Yes.  For the list: the discussion was following up on yesterday's thread on
some confusion between the library and the compiler, from which it resulted
that the library doesn't rely on integer overflow when accessing arrays, and
therefore a signed type bears no risk.

Thanks,
- Tobi



More information about the Gcc-patches mailing list