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]

Re: [patch, libfortran] Fix PR 18958


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]