diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2013-10-28 21:25:46 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2013-10-28 21:25:46 (GMT) |
commit | 2eb24b16dac78b3e27769c20502299475fb8dde6 (patch) | |
tree | 98d1ebfe8439fa9d557a00cc3602f74d3f8e8981 /tools/h5stat/h5stat.c | |
parent | 56803a19704bf20f83267bdbf3ab32bf9ed1e375 (diff) | |
download | hdf5-2eb24b16dac78b3e27769c20502299475fb8dde6.zip hdf5-2eb24b16dac78b3e27769c20502299475fb8dde6.tar.gz hdf5-2eb24b16dac78b3e27769c20502299475fb8dde6.tar.bz2 |
[svn-r24368] Issue 8147 - clang's -fcatch-undefined-behavior exposed undefined behavior in the alignment detection algorithm for integers in H5detect.c. Quincey decided to solve it in two steps. First, catch illegal instruction signal in the original algorithm. Second, use POSIX __alignof function to detect alignment if it's available. This checkin is the first step.
Tested on wren, jam, ostrich, platypas, and koala.
Diffstat (limited to 'tools/h5stat/h5stat.c')
0 files changed, 0 insertions, 0 deletions