summaryrefslogtreecommitdiffstats
path: root/hl/src/H5IM.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2013-10-28 21:25:46 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2013-10-28 21:25:46 (GMT)
commit2eb24b16dac78b3e27769c20502299475fb8dde6 (patch)
tree98d1ebfe8439fa9d557a00cc3602f74d3f8e8981 /hl/src/H5IM.c
parent56803a19704bf20f83267bdbf3ab32bf9ed1e375 (diff)
downloadhdf5-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 'hl/src/H5IM.c')
0 files changed, 0 insertions, 0 deletions