diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-09-09 05:05:57 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-09-09 05:05:57 (GMT) |
commit | 966f5f42368663fb589807ae28b2887b98ed8067 (patch) | |
tree | d185fc30d5649957054032397863072410f0a933 /src/H5Oshared.c | |
parent | a949d226d836d1fb1a07fa6c748f137e21d73d28 (diff) | |
download | hdf5-966f5f42368663fb589807ae28b2887b98ed8067.zip hdf5-966f5f42368663fb589807ae28b2887b98ed8067.tar.gz hdf5-966f5f42368663fb589807ae28b2887b98ed8067.tar.bz2 |
[svn-r11381] Purpose:
bug fix.
Description:
In Janus (Tflops), the test would seg-fault in production (compiled
with -O). If compiled with -O0, it would be okay. Track down the
problem to the for loop index i & j being declared with type hsize_t
which is usually unsigned long int. Guess the Tflop compiler has
a bug in optimization that could not handle unsigned int as for loop
index.
Solution:
Since it is no need for i & j to be hsize_t and it makes more
sense to have them with type int. Changed them to int type.
Platforms tested:
Passed in tflops and colonelk here.
Diffstat (limited to 'src/H5Oshared.c')
0 files changed, 0 insertions, 0 deletions