------- Additional Comments From paulthomas2 at wanadoo dot fr 2005-04-29 14:59 ------- Subject: Re: MATMUL failing with ALLOCATED matrices, unless base indices given
Tobi, > The library uses the latter way, so the offset is not needed there. > Exactly - I was aware of this because the namelist functions do not use base/offset at all. > BTW this also answers the question of ssize_t vs size_t we were dicussing > before: correct overflow only plays a role when one uses the first way, > and this > is only used in compiler-generated code. Yes, that is the point that Thomas was making, when he raised it in the first place. > > The library only uses the latter kind of indexing and therefore using > ssize_t > should work correctly under all circumstances. Again, exactly. As for the care that I am taking - after the business with namelist, I feel like the monkey and the billiard ball- I'll see if I can find it on the web. You will see why it is appropriate. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18857