[mpich-discuss] Possible integer overflows at scale in gather.c
Rob Latham
robl at mcs.anl.gov
Fri Oct 2 13:50:16 CDT 2015
On 10/01/2015 12:35 PM, Ignacio Laguna wrote:
> Once you have a version I can download with the patches, I can run the
> analysis again and see if I can catch more things. Just let me know and
> I would be happy to test it.
I tried to decipher the LLVM output: I see a few more i64 values, but
not certain I'm reading it correctly.
Does this patch do the trick?
Promoting the declaration of recvcount would work too, but sets off a
larger cascade of type promotions.
==rob
>
> In general, overflows can also occur in intermediate computations,
> depending on how code is optimized, I believe.
>
> Thanks!
>
> Ignacio
>
>> ==rob
>>
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA
More information about the discuss
mailing list