On 06/22/2016 05:47 AM, Gilles Gouaillardet wrote:
Thanks for the info, I updated
https://github.com/open-mpi/ompi/issues/1809 accordingly.

fwiw, the bug occurs when addresses do not fit in 32 bits.
for some reasons, I always run into it on OSX but not on Linux, ubless I
use dmalloc.
I replaced malloc with alloca (and remove free) so I always hit the bug
on Linux.


Thanks for the patch.  It's a giant mess.

There are 1500 places in ROMIO where clang's "-Wshorten64-to-32" gives a warning. Then there are cases such as this where we are explicitly casting to an int -- clang won't warn about that, assuming we know what we are doing (hah!)

==rob

Reply via email to