diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2011-08-12 15:12:13 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2011-08-12 15:12:13 (GMT) |
commit | 4dbc3b0478a01302cd8f62cc914e99a36f4e8efd (patch) | |
tree | 8a7149588eb4e33b5e5bed56070d4155982fd275 /configure | |
parent | 3a448c4f8565178cf218e138086d46bfa5f66e91 (diff) | |
download | hdf5-4dbc3b0478a01302cd8f62cc914e99a36f4e8efd.zip hdf5-4dbc3b0478a01302cd8f62cc914e99a36f4e8efd.tar.gz hdf5-4dbc3b0478a01302cd8f62cc914e99a36f4e8efd.tar.bz2 |
[svn-r21221] The original code
i_mask = ~((unsigned)~0 << (precision[0] + offset[0])) & ((unsigned)~0 << offset[0]);
in line 3680 left shifted a 32-bit integer for 32-bit. The result is undefined by C language. A user
discovered it using clang compiler with -fcatch-undefined-behavior option (see Issue 7674
in Jira). So I changed it in a funny way to avoid it.
Tested on jam. But I tested the same change for the trunk with h5committest.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions